• S
    sparc32: fix sparse warnings in srmmu.c · e8c29c83
    Sam Ravnborg 提交于
    Fix following warnings:
    srmmu.c:78:5: warning: symbol 'flush_page_for_dma_global' was not declared. Should it be static?
    srmmu.c:85:5: warning: symbol 'viking_mxcc_present' was not declared. Should it be static?
    srmmu.c:103:6: warning: symbol 'srmmu_nocache_bitmap' was not declared. Should it be static?
    srmmu.c:176:24: warning: Using plain integer as NULL pointer
    srmmu.c:731:46: warning: Using plain integer as NULL pointer
    srmmu.c:731:46: warning: Using plain integer as NULL pointer
    srmmu.c:731:46: warning: Using plain integer as NULL pointer
    srmmu.c:870:13: warning: symbol 'srmmu_paging_init' was not declared. Should it be static?
    
    Add proper prototypes in mm_32.h and drop local prototype in init_32.c
    Replace 0 with NULL
    Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    e8c29c83
init_32.c 9.0 KB