* Fix __set_fixmap() for STRICT_MM_TYPECHECKS
@ 2008-05-19 6:16 David Gibson
0 siblings, 0 replies; only message in thread
From: David Gibson @ 2008-05-19 6:16 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
__set_fixmap() in pgtable_32.c currently fails to compile if
STRICT_MM_TYPECHECKS is defined. This patch fixes it.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Index: working-2.6/arch/powerpc/mm/pgtable_32.c
===================================================================
--- working-2.6.orig/arch/powerpc/mm/pgtable_32.c 2008-05-19 16:13:02.000000000 +1000
+++ working-2.6/arch/powerpc/mm/pgtable_32.c 2008-05-19 16:13:09.000000000 +1000
@@ -402,7 +402,7 @@ void __set_fixmap (enum fixed_addresses
return;
}
- map_page(address, phys, flags);
+ map_page(address, phys, pgprot_val(flags));
fixmaps++;
}
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-19 6:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19 6:16 Fix __set_fixmap() for STRICT_MM_TYPECHECKS David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox