Skip to content

Commit

Permalink
Move inclusion of <linux/compat.h> out of user scope in asm-x86_64/mt…
Browse files Browse the repository at this point in the history
…rr.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed May 21, 2006
1 parent 3ac6c7b commit 2c23d62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/asm-x86_64/mtrr.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#define _LINUX_MTRR_H

#include <linux/ioctl.h>
#include <linux/compat.h>

#define MTRR_IOCTL_BASE 'M'

Expand Down Expand Up @@ -101,11 +100,10 @@ static __inline__ int mtrr_del_page (int reg, unsigned long base,
return -ENODEV;
}

# endif

#endif
#endif /* CONFIG_MTRR */

#ifdef CONFIG_COMPAT
#include <linux/compat.h>

struct mtrr_sentry32
{
Expand Down Expand Up @@ -137,4 +135,6 @@ struct mtrr_gentry32

#endif /* CONFIG_COMPAT */

#endif /* __KERNEL__ */

#endif /* _LINUX_MTRR_H */

0 comments on commit 2c23d62

Please sign in to comment.