• Heiko Carstens's avatar
    [S390] Remove BUILD_BUG_ON() in vmem code. · 0189103c
    Heiko Carstens authored
    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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    0189103c
pgtable.h 29.7 KB