]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] mm/filemap_xip.c compilation fix
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Jul 2005 20:58:18 +0000 (13:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 12 Jul 2005 23:01:00 +0000 (16:01 -0700)
commit082ff0a9991dcea958785115fbba6dddd0dc280a
tree1d98a032b5757365d553dfe035662bb81c119e8b
parenteb0a90b4970d667e9ae9df538710f12b8e78e442
[PATCH] mm/filemap_xip.c compilation fix

mm/filemap_xip.c: In function `__xip_unmap':
mm/filemap_xip.c:194: request for member `pte' in something not a structure or union

Apparently pte_pfn() takes a pte_t, not a pointer to a pte_t.  From looking
at asm/page.h, it seems to be the same on ia32 or ppc (iff
STRICT_MM_TYPECHECKS is enabled, which is disabled by default on ppc).

Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/filemap_xip.c