aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/pageattr-test.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-01 11:49:43 -0500
committerIngo Molnar <mingo@elte.hu>2008-02-01 11:49:43 -0500
commit93809be8b140c101d27f00d0a622ebac90bc7a67 (patch)
tree2b5effc7e8d77e6f26a271838968cf793207767b /arch/x86/mm/pageattr-test.c
parent4a1485131a6038ba5382f407db48badc332672c4 (diff)
x86: fixes for lookup_address args
Signedness mismatches in level argument. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
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