• Jesse Barnes's avatar
    [IA64-SGI] sparse cleanups & misc fixes for sn2 · 83ffe4f0
    Jesse Barnes authored
    This is a big patch mostly because I trimmed shub_mmr.h down from 17M to 11k
    or so.  It fixes a number of things sparse discovered and removes some dead
    code, fixes up some prototypes, etc.  Of note:
     
    o sn_proc_fs.c was directly dereferencing user pointers, fixed
    o sn_hwperf.c was missing an include and was using asm-ia64 directly
    o the I/O routines were all missing proper sparse annotations
    o dead code in prominfo_proc.c has been removed
    o fix generic build by putting numionodes into asm/sn/io.h
    
    With this patch applied, the check build is pretty clean.  The sn_console bit
    depends on some of the other changes, so it's included here.
    Signed-off-by: default avatarJesse Barnes <jbarnes@sgi.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    83ffe4f0
pcidev.h 1.66 KB