Move a kernel include into __KERNEL__ protected section

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3570 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mentor 2008-04-24 13:26:00 +00:00
parent d8c264b8f5
commit 0c14432118

View File

@ -43,6 +43,7 @@
#include <linux/types.h>
#include <linux/time.h>
#include <linux/netdevice.h>
#include <linux/kernel.h>
#endif
#if !defined(__KERNEL__) || !defined (__bitwise)
@ -80,7 +81,6 @@
#define NBBY 8 /* number of bits/byte */
/* roundup() appears in Linux 2.6.18 */
#include <linux/kernel.h>
#ifndef roundup
#define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */
#endif