android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Benjamin Herrenschmidt 42c4aaadb7 [POWERPC] Consolidate feature fixup code
There are currently two versions of the functions for applying the
feature fixups, one for CPU features and one for firmware features. In
addition, they are both in assembly and with separate implementations
for 32 and 64 bits. identify_cpu() is also implemented in assembly and
separately for 32 and 64 bits.

This patch replaces them with a pair of C functions. The call sites are
slightly moved on ppc64 as well to be called from C instead of from
assembly, though it's a very small change, and thus shouldn't cause any
problem.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-25 11:42:10 +10:00
..
4xx
8xx
82xx [HEADERS] Put linux/config.h out of its misery. 2006-10-09 19:13:51 -04:00
83xx [POWERPC] Add Makefile entry for MPC832x_mds support 2006-10-16 15:53:30 +10:00
85xx [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
86xx [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
apus
cell [POWERPC] spufs: fix support for read/write on cntl 2006-10-16 15:52:14 +10:00
chrp [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
embedded6xx [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
iseries [POWERPC] Consolidate feature fixup code 2006-10-25 11:42:10 +10:00
maple [POWERPC] Fix Maple secondary IDE interrupt 2006-10-10 11:54:26 +10:00
pasemi [PATCH] trivial iomem annotations (arch/powerpc/platfroms/parsemi/pci.c) 2006-10-09 14:19:08 -07:00
powermac [POWERPC] Fix build breakage with CONFIG_PPC32 2006-10-23 18:23:17 +10:00
prep
pseries [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
Makefile