android_kernel_xiaomi_sm8350/arch/powerpc/platforms/powermac
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
..
backlight.c
bootx_init.c
cache.S
cpufreq_32.c
cpufreq_64.c
feature.c powerpc: Fix duplicate test of MACIO_FLAG_SCCB_ON 2008-09-15 11:07:35 -07:00
Kconfig
low_i2c.c
Makefile ftrace: rename FTRACE to FUNCTION_TRACER 2008-10-20 18:27:03 +02:00
nvram.c
pci.c powerpc: Introduce ppc_pci_flags accessors 2008-12-16 15:53:16 +11:00
pfunc_base.c
pfunc_core.c arch: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:14:49 -04:00
pic.c [POWERPC] Move xmon_irq() declaration into xmon.h 2008-05-14 22:31:54 +10:00
pic.h
pmac.h ppc/pmac: remove ppc_ide_md hooks 2008-04-18 00:46:29 +02:00
setup.c powerpc/pmac: Use of_find_node_with_property() in pmac_setup_arch() 2008-11-19 16:05:03 +11:00
sleep.S
smp.c powerpc/powermac: Use set_hard_smp_processor_id() instead of smp_hw_index 2008-12-16 15:53:09 +11:00
time.c powerpc: Guard from_rtc_time() in platforms/powermac/time.c 2008-08-20 16:34:57 +10:00
udbg_adb.c
udbg_scc.c powerpc/powermac: Use sane default baudrate for SCC debugging 2008-07-28 16:30:52 +10:00