aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/pageattr-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/pageattr-test.c')
-rw-r--r--arch/x86/mm/pageattr-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/pageattr-test.c b/arch/x86/mm/pageattr-test.c
index 06353d43f72e..7573e786d2f2 100644
--- a/arch/x86/mm/pageattr-test.c
+++ b/arch/x86/mm/pageattr-test.c
@@ -42,7 +42,7 @@ static __init int print_split(struct split_state *s)
42 s->max_exec = 0; 42 s->max_exec = 0;
43 for (i = 0; i < max_pfn_mapped; ) { 43 for (i = 0; i < max_pfn_mapped; ) {
44 unsigned long addr = (unsigned long)__va(i << PAGE_SHIFT); 44 unsigned long addr = (unsigned long)__va(i << PAGE_SHIFT);
45 int level; 45 unsigned int level;
46 pte_t *pte; 46 pte_t *pte;
47 47
48 pte = lookup_address(addr, &level); 48 pte = lookup_address(addr, &level);
@@ -106,7 +106,7 @@ static __init int exercise_pageattr(void)
106 unsigned long *bm; 106 unsigned long *bm;
107 pte_t *pte, pte0; 107 pte_t *pte, pte0;
108 int failed = 0; 108 int failed = 0;
109 int level; 109 unsigned int level;
110 int i, k; 110 int i, k;
111 int err; 111 int err;
112 112