]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb417103d1e403eb6118c81475c24395a279a1f3c
treefcfeefd0eeaa78db2ef74062451a8319652ab530
parent5ef69f300008be246d9bd160ead40de7483be5c2
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 27d094188abce194ad5d4825ff7f75a9880083d3
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