x86: fix a couple of sparse warnings
From: Dmitri Vorobiev
Date: Sun Apr 27 2008 - 19:16:51 EST
Hi Ingo, Peter, Thomas,
Here is a couple of patches that fix sparse warnings
produced while compiling defconfig for i386:
<<<<<
arch/x86/kernel/reboot.c:32:5: warning: symbol 'reboot_force' was not declared. Should it be static?
arch/x86/kernel/pci-dma.c:17:5: warning: symbol 'iommu_sac_force' was not declared. Should it be static?
<<<<<
These patches were compile-tested using defconfig for both
i386 and x86_64. Also, a runtime test was successfully
performed by booting i386 and x86_64 boxes up to the shell
prompt.
Patches apply cleanly to current x86.git.
Please consider.
Thanks,
Dmitri Vorobiev
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/