android_kernel_samsung_msm8976/arch/powerpc/platforms
Arnd Bergmann e22ba7e381 [POWERPC] ps3: multiplatform build fixes
A few code paths need to check whether or not they are running
on the PS3's LV1 hypervisor before making hcalls. This introduces
a new firmware feature bit for this, FW_FEATURE_PS3_LV1.

Now when both PS3 and IBM_CELL_BLADE are enabled, but not PSERIES,
FW_FEATURE_PS3_LV1 and FW_FEATURE_LPAR get enabled at compile time,
which is a bug. The same problem can also happen for (PPC_ISERIES &&
!PPC_PSERIES && PPC_SOMETHING_ELSE). In order to solve this, I
introduce a new CONFIG_PPC_NATIVE option that is set when at least
one platform is selected that can run without a hypervisor and then
turns the firmware feature check into a run-time option.

The new cell oprofile support that was recently merged does not
work on hypervisor based platforms like the PS3, therefore make
it depend on PPC_CELL_NATIVE instead of PPC_CELL. This may change
if we get oprofile support for PS3.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
2006-12-04 20:41:16 +11:00
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
82xx [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
83xx [POWERPC] Remove ppc_md.pci_map_irq & ppc_swizzle for ARCH=powerpc 2006-12-04 16:00:14 +11:00
85xx [POWERPC] Remove ioremap64 and fixup_bigphys_addr 2006-12-04 20:39:04 +11:00
86xx [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [POWERPC] spufs: we should only execute init_spu_base on cell 2006-12-04 20:41:11 +11:00
chrp [POWERPC] Merge 32 and 64 bits asm-powerpc/io.h 2006-12-04 20:39:05 +11:00
efika [POWERPC] Fix compile issue for Efika platform 2006-12-04 20:41:06 +11:00
embedded6xx [POWERPC] Make pci_read_irq_line the default on mpc7448hpc2 board 2006-12-04 20:39:27 +11:00
iseries [POWERPC] Distinguish POWER6 partition modes and tell userspace 2006-12-04 20:40:16 +11:00
maple [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
pasemi [POWERPC] Refactor 64 bits DMA operations 2006-12-04 20:38:40 +11:00
powermac [POWERPC] Merge 32 and 64 bits asm-powerpc/io.h 2006-12-04 20:39:05 +11:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
ps3 [POWERPC] ps3: multiplatform build fixes 2006-12-04 20:41:16 +11:00
pseries [POWERPC] Wrap cpu_die() with CONFIG_HOTPLUG_CPU 2006-12-04 20:39:29 +11:00
Makefile [POWERPC] ps3: Missed renames of CONFIG_PS3 to CONFIG_PPC_PS3 2006-12-04 20:41:14 +11:00