aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/mtrr.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-21 17:51:13 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-21 17:51:13 -0400
commit2c23d62abb820e19c54012520f08a198c2233a85 (patch)
tree1b7646fe81694041f7e364d2a15644ad56b7063b /include/asm-x86_64/mtrr.h
parent3ac6c7b44560fdf2ea8865536bd52d4ff038107e (diff)
Move inclusion of <linux/compat.h> out of user scope in asm-x86_64/mtrr.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-x86_64/mtrr.h')
-rw-r--r--include/asm-x86_64/mtrr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-x86_64/mtrr.h b/include/asm-x86_64/mtrr.h
index 4a0610c185eb..d6135b2549bf 100644
--- a/include/asm-x86_64/mtrr.h
+++ b/include/asm-x86_64/mtrr.h
@@ -24,7 +24,6 @@
24#define _LINUX_MTRR_H 24#define _LINUX_MTRR_H
25 25
26#include <linux/ioctl.h> 26#include <linux/ioctl.h>
27#include <linux/compat.h>
28 27
29#define MTRR_IOCTL_BASE 'M' 28#define MTRR_IOCTL_BASE 'M'
30 29
@@ -101,11 +100,10 @@ static __inline__ int mtrr_del_page (int reg, unsigned long base,
101 return -ENODEV; 100 return -ENODEV;
102} 101}
103 102
104# endif 103#endif /* CONFIG_MTRR */
105
106#endif
107 104
108#ifdef CONFIG_COMPAT 105#ifdef CONFIG_COMPAT
106#include <linux/compat.h>
109 107
110struct mtrr_sentry32 108struct mtrr_sentry32
111{ 109{
@@ -137,4 +135,6 @@ struct mtrr_gentry32
137 135
138#endif /* CONFIG_COMPAT */ 136#endif /* CONFIG_COMPAT */
139 137
138#endif /* __KERNEL__ */
139
140#endif /* _LINUX_MTRR_H */ 140#endif /* _LINUX_MTRR_H */