parisc: fix compile breakage caused by inlining maybe_mkwrite
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 14 Jan 2011 22:21:47 +0000 (16:21 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 15 Jan 2011 14:40:07 +0000 (08:40 -0600)
commit84cd8453f30787504305a1a1f8dd5af7a92aa485
treefcfeefd0eeaa78db2ef74062451a8319652ab530
parentfbea668498e93bb38ac9226c7af9120a25957375
parisc: fix compile breakage caused by inlining maybe_mkwrite

on Parisc, we have an include of linux/mm.h inside our asm/pgtable.h, so
this patch

commit 14fd403f2146f740942d78af4e0ee59396ad8eab
Author: Andrea Arcangeli <aarcange@redhat.com>
Date:   Thu Jan 13 15:46:37 2011 -0800

    thp: export maybe_mkwrite

Causes us an unsatisfiable use of pte_mkwrite in linux/mm.h

The fix is obviously not to include linux/mm.h in our pgtable.h, which
unbreaks the build.

Signed-off-by: James Bottomley <James.Bottomley@suse.de>
arch/parisc/include/asm/pgtable.h