projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac6c7b
)
Move inclusion of <linux/compat.h> out of user scope in asm-x86_64/mtrr.h
author
David Woodhouse
<dwmw2@infradead.org>
Sun, 21 May 2006 21:51:13 +0000
(22:51 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Sun, 21 May 2006 21:51:13 +0000
(22:51 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/asm-x86_64/mtrr.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86_64/mtrr.h
b/include/asm-x86_64/mtrr.h
index 4a0610c185eba278ff88d60d45046288f334ecb1..d6135b2549bff80123657052a09364f732e6aa04 100644
(file)
--- a/
include/asm-x86_64/mtrr.h
+++ b/
include/asm-x86_64/mtrr.h
@@
-24,7
+24,6
@@
#define _LINUX_MTRR_H
#include <linux/ioctl.h>
-#include <linux/compat.h>
#define MTRR_IOCTL_BASE 'M'
@@
-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
{
@@
-137,4
+135,6
@@
struct mtrr_gentry32
#endif /* CONFIG_COMPAT */
+#endif /* __KERNEL__ */
+
#endif /* _LINUX_MTRR_H */