view osdep/kerneltwosix.h @ 12945:e6b756046bf5

avoid outoptimization of static variables patch by ismail d«Ónmez <ismail.donmez at gmail.com>
author faust3
date Tue, 03 Aug 2004 18:54:26 +0000
parents e0b096f0e640
children
line wrap: on
line source

#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
#define __KERNEL__
#include <linux/thread_info.h>
#include <linux/list.h>
#undef __KERNEL__
#endif