[S390] Remove BUILD_BUG_ON() in vmem code.
commit0189103c69f47712a0c542a8bc28ff46ebe53a8a
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 5 Feb 2008 15:50:49 +0000 (5 16:50 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 5 Feb 2008 15:51:01 +0000 (5 16:51 +0100)
tree35dcc4e4bc91c3a8dd5bc2eeb14b6ffd07614234
parente35e1fadb4585e3143fab34dd4f5070698b3305b
[S390] Remove BUILD_BUG_ON() in vmem code.

Remove BUILD_BUG_ON() in vmem code since it causes build failures if
the size of struct page increases. Instead calculate at compile time
the address of the highest physical address that can be added to the
1:1 mapping.
This supposed to fix a build failure with the page owner tracking leak
detector patches as reported by akpm.

page-owner-tracking-leak-detector-broken-on-s390.patch can be removed
from -mm again when this is merged.

Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/setup.c
arch/s390/mm/vmem.c
include/asm-s390/pgtable.h