[IA64-SGI] sn2 minor fixes and cleanups
authorJes Sorensen <jes@sgi.com>
Mon, 13 Feb 2006 10:29:57 +0000 (05:29 -0500)
committerTony Luck <tony.luck@intel.com>
Wed, 15 Feb 2006 21:24:45 +0000 (13:24 -0800)
commit8ed9b2c7a804335004e4bd3b4c6989c5b6bc243f
treef7420b3fe8ad59ad23707ccbfd7ccaef7abe2a70
parent50d8e59038703c4da5acaed9afaa37ae416d3153
[IA64-SGI] sn2 minor fixes and cleanups

General SN2 code cleanup:
 - Do not initialize global variables to zero
 - Use kzalloc instead of kmalloc+memset
 - Check kmalloc return values
 - Do not obfuscate spin lock calls
 - Remove some unused code
 - Various formatting cleanups

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
12 files changed:
arch/ia64/sn/kernel/io_init.c
arch/ia64/sn/kernel/sn2/prominfo_proc.c
arch/ia64/sn/kernel/sn2/sn2_smp.c
arch/ia64/sn/kernel/sn2/sn_proc_fs.c
arch/ia64/sn/kernel/tiocx.c
arch/ia64/sn/pci/pci_dma.c
arch/ia64/sn/pci/pcibr/pcibr_ate.c
arch/ia64/sn/pci/pcibr/pcibr_dma.c
arch/ia64/sn/pci/pcibr/pcibr_provider.c
include/asm-ia64/sn/bte.h
include/asm-ia64/sn/pcibr_provider.h
include/asm-ia64/sn/sn_feature_sets.h