2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 10:44:14 +08:00
linux-next/arch/powerpc/platforms
Kevin Hao b92a226e52 powerpc: Move cpu_has_feature() to a separate file
We plan to use jump label for cpu_has_feature(). In order to implement
this we need to include the linux/jump_label.h in asm/cputable.h.

Unfortunately if we do that it leads to an include loop. The root of the
problem seems to be that reg.h needs cputable.h (for CPU_FTRs), and then
cputable.h via jump_label.h eventually pulls in hw_irq.h which needs
reg.h (for MSR_EE).

So move cpu_has_feature() to a separate file on its own.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
[mpe: Rename to cpu_has_feature.h and flesh out change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-08-01 11:15:03 +10:00
..
8xx powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
40x powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
44x powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
52xx powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00
82xx powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00
83xx powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
85xx powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
86xx powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
512x powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
amigaone powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00
cell powerpc: Move cpu_has_feature() to a separate file 2016-08-01 11:15:03 +10:00
chrp powerpc: Get rid of ppc_md.init_early() 2016-07-21 19:07:26 +10:00
embedded6xx powerpc: Get rid of ppc_md.init_early() 2016-07-21 19:07:26 +10:00
maple powerpc: Get rid of ppc_md.init_early() 2016-07-21 19:07:26 +10:00
pasemi powerpc: Get rid of ppc_md.init_early() 2016-07-21 19:07:26 +10:00
powermac powerpc: Get rid of ppc_md.init_early() 2016-07-21 19:07:26 +10:00
powernv powerpc/powernv/ioda: Fix endianness when reading TCEs 2016-07-21 20:21:06 +10:00
ps3 powerpc/64: Move 64-bit probe_machine() to later in the boot process 2016-07-21 18:59:22 +10:00
pseries powerpc/mm: Rename hpte_init_lpar() and move the fallback to a header 2016-07-26 14:16:18 +10:00
fsl_uli1575.c of/irq: Refactor interrupt-map parsing 2013-10-24 11:43:04 +01:00
Kconfig powerpc: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-08 09:54:53 +02:00
Kconfig.cputype powerpc32: provide VIRT_CPU_ACCOUNTING 2016-07-09 01:43:50 -05:00
Makefile powerpc: Remove platforms/wsp and associated pieces 2014-06-11 16:35:38 +10:00