OpenCloudOS-Kernel/arch/powerpc/platforms/chrp
Josh Boyer 7fe519c207 powerpc: Introduce ppc_pci_flags accessors
Currently there are a number of platforms that open code access to
the ppc_pci_flags global variable.  However, that variable is not
present if CONFIG_PCI is not set, which can lead to a build break.

This introduces a number of accessor functions that are defined
to be empty in the case of CONFIG_PCI being disabled.  The
various platform files in the kernel are updated to use these.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-12-16 15:53:16 +11:00
..
Kconfig [POWERPC] disallow building powermac and tsi108 without PCI 2007-06-29 01:57:00 -05:00
Makefile [POWERPC] disallow building powermac and tsi108 without PCI 2007-06-29 01:57:00 -05:00
chrp.h [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
gg2.h [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need 2007-08-22 22:43:29 -05:00
nvram.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
pci.c powerpc: Introduce ppc_pci_flags accessors 2008-12-16 15:53:16 +11:00
pegasos_eth.c mv643xx_eth: get rid of static variables, allow multiple instances 2008-04-28 21:17:07 -07:00
setup.c Remove asm/a.out.h files for all architectures without a.out support. 2008-09-06 19:30:24 +01:00
smp.c [POWERPC] Remove old includes from arch/ppc 2007-08-22 22:39:35 -05:00
time.c powerpc: Use bcd2bin/bin2bcd 2008-08-20 16:34:58 +10:00