• Paul Jackson's avatar
    [PATCH] SN2 build fix CONFIG_VIRTUAL_MEM_MAP and CONFIG_DISCONTIGMEM · 2a96c525
    Paul Jackson authored
    The change on 2004-09-03 by ianw@gelato.unsw.edu.au appears to have
    a typo, which causes builds of configurations which define both
    CONFIG_VIRTUAL_MEM_MAP and CONFIG_DISCONTIGMEM to emit some 890
    warnings for redefines of each of pfn_valid, page_to_pfn,
    pfn_to_page.
    
    This shows up compiling sn2_defconfig, the SN2 config of arch ia64.  I
    believe that this is a simply typo, an extra "#else" line.  Removing
    this exta line enables sn2_defconfig to build as before.
    
    Acked by Jesse Barnes <jbarnes@engr.sgi.com>
    Signed-off-by: default avatarPaul Jackson <pj@sgi.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    2a96c525
page.h 5.49 KB