patch-2.4.0-test11 linux/include/asm-ppc/pci.h

Next file: linux/include/asm-ppc/pgalloc.h
Previous file: linux/include/asm-ppc/pci-bridge.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/pci.h linux/include/asm-ppc/pci.h
@@ -1,12 +1,12 @@
 #ifndef __PPC_PCI_H
 #define __PPC_PCI_H
+#ifdef __KERNEL__
 
 /* Values for the `which' argument to sys_pciconfig_iobase syscall.  */
 #define IOBASE_BRIDGE_NUMBER	0
 #define IOBASE_MEMORY		1
 #define IOBASE_IO		2
 
-#ifdef __KERNEL__
 
 /* Can be used to override the logic in pci_scan_bus for skipping
  * already-configured bus numbers - to be used for buggy BIOSes

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)