kernel_optimize_test/arch/mips/generic
Matt Redfearn 7f005f112f MIPS: generic: Fix compilation error from include asm/mips-cpc.h
Commit e83f7e02af ("MIPS: CPS: Have asm/mips-cps.h include CM & CPC
headers") adds a #error to arch/mips/include/asm/mips-cpc.h if it is
included directly. While this commit replaced almost all direct includes
of mips-cm.h and mips-cpc.h, 2 remain.

With some defconfigs, mips-cps.h is indirectly included before
mips-cpc.h, but in others this results in compilation errors:

In file included from arch/mips/generic/init.c:23:0:
./arch/mips/include/asm/mips-cpc.h:12:3: error: #error Please include
asm/mips-cps.h rather than asm/mips-cpc.h
 # error Please include asm/mips-cps.h rather than asm/mips-cpc.h

In file included from arch/mips/kernel/smp.c:23:0:
./arch/mips/include/asm/mips-cpc.h:12:3: error: #error Please include
asm/mips-cps.h rather than asm/mips-cpc.h
 # error Please include asm/mips-cps.h rather than asm/mips-cpc.h

In both cases, fix this by including mips-cps.h instead.

Fixes: e83f7e02af ("MIPS: CPS: Have asm/mips-cps.h include CM & CPC headers")
Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/17492/
Signed-off-by: James Hogan <jhogan@kernel.org>
2017-10-31 23:49:48 +00:00
..
board-boston.its.S MIPS: generic: Move Boston FIT image source to its own file 2017-08-29 15:21:52 +02:00
board-ni169445.its.S MIPS: generic: Fix NI 169445 its build 2017-10-31 22:55:44 +00:00
board-sead3.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
init.c MIPS: generic: Fix compilation error from include asm/mips-cpc.h 2017-10-31 23:49:48 +00:00
irq.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
Kconfig MIPS: NI 169445 board support 2017-08-29 15:21:51 +02:00
kexec.c MIPS: generic/kexec: add support for a DTB passed in a separate buffer 2017-01-03 16:34:46 +01:00
Makefile Update MIPS email addresses 2017-10-31 22:42:39 +00:00
Platform Update MIPS email addresses 2017-10-31 22:42:39 +00:00
proc.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
vmlinux.its.S MIPS: generic: Move NI 169445 FIT image source to its own file 2017-08-29 15:21:52 +02:00
yamon-dt.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00