aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/pageattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/pageattr.c')
-rw-r--r--arch/x86/mm/pageattr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c
index 19f7f7a0b36f..fcd96125c5ae 100644
--- a/arch/x86/mm/pageattr.c
+++ b/arch/x86/mm/pageattr.c
@@ -9,18 +9,13 @@
9#include <linux/slab.h> 9#include <linux/slab.h>
10#include <linux/mm.h> 10#include <linux/mm.h>
11 11
12#include <asm/e820.h>
12#include <asm/processor.h> 13#include <asm/processor.h>
13#include <asm/tlbflush.h> 14#include <asm/tlbflush.h>
14#include <asm/sections.h> 15#include <asm/sections.h>
15#include <asm/uaccess.h> 16#include <asm/uaccess.h>
16#include <asm/pgalloc.h> 17#include <asm/pgalloc.h>
17 18
18/*
19 * We must allow the BIOS range to be executable:
20 */
21#define BIOS_BEGIN 0x000a0000
22#define BIOS_END 0x00100000
23
24static inline int 19static inline int
25within(unsigned long addr, unsigned long start, unsigned long end) 20within(unsigned long addr, unsigned long start, unsigned long end)
26{ 21{