OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc240f
)
[POWERPC] Fix __set_fixmap() for STRICT_MM_TYPECHECKS
author
David Gibson
<david@gibson.dropbear.id.au>
Mon, 19 May 2008 06:16:00 +0000
(16:16 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 23 May 2008 06:15:32 +0000
(16:15 +1000)
__set_fixmap() in pgtable_32.c currently fails to compile if
STRICT_MM_TYPECHECKS is defined. This fixes it.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/pgtable_32.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/pgtable_32.c
b/arch/powerpc/mm/pgtable_32.c
index
80d1bab
..
e0ff59f
100644
(file)
--- a/
arch/powerpc/mm/pgtable_32.c
+++ b/
arch/powerpc/mm/pgtable_32.c
@@
-402,7
+402,7
@@
void __set_fixmap (enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags)
return;
}
- map_page(address, phys,
flags
);
+ map_page(address, phys,
pgprot_val(flags)
);
fixmaps++;
}