mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
Move inclusion of <linux/compat.h> out of user scope in asm-x86_64/mtrr.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
3ac6c7b445
commit
2c23d62abb
1 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,6 @@
|
||||||
#define _LINUX_MTRR_H
|
#define _LINUX_MTRR_H
|
||||||
|
|
||||||
#include <linux/ioctl.h>
|
#include <linux/ioctl.h>
|
||||||
#include <linux/compat.h>
|
|
||||||
|
|
||||||
#define MTRR_IOCTL_BASE 'M'
|
#define MTRR_IOCTL_BASE 'M'
|
||||||
|
|
||||||
|
@ -101,11 +100,10 @@ static __inline__ int mtrr_del_page (int reg, unsigned long base,
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
# endif
|
#endif /* CONFIG_MTRR */
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_COMPAT
|
#ifdef CONFIG_COMPAT
|
||||||
|
#include <linux/compat.h>
|
||||||
|
|
||||||
struct mtrr_sentry32
|
struct mtrr_sentry32
|
||||||
{
|
{
|
||||||
|
@ -137,4 +135,6 @@ struct mtrr_gentry32
|
||||||
|
|
||||||
#endif /* CONFIG_COMPAT */
|
#endif /* CONFIG_COMPAT */
|
||||||
|
|
||||||
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
#endif /* _LINUX_MTRR_H */
|
#endif /* _LINUX_MTRR_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue