]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: fix compile breakage caused by inlining maybe_mkwrite
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 16 Jan 2011 22:06:14 +0000 (23:06 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 16 Jan 2011 23:05:44 +0000 (15:05 -0800)
commit21a0a1eec3301dc204fdb18b1d4267314d0815ba
treec29e2394c212f1a9de5fdb7a34b866745f28f942
parentd366d4a2632745c761af9acf504f84c6342222ee
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 to avoid including linux/mm.h in our pgtable.h, which
unbreaks the build.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/parisc/include/asm/pgtable.h