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>
This commit is contained in:
Harvey Harrison
2008-02-01 17:49:43 +01:00
committed by Ingo Molnar
parent 4a1485131a
commit 93809be8b1
4 changed files with 6 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ static void __init early_mapping_set_exec(unsigned long start,
int executable)
{
pte_t *kpte;
int level;
unsigned int level;
while (start < end) {
kpte = lookup_address((unsigned long)__va(start), &level);