Skip to content

ARM: move #include <asm/cp15.h> into cacheflush.h

Brian Norris linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARM: include missing cp15.h headerarch/arm/include/asm/cacheflush.h+1 -00 replies
2/5ARM: mvebu: drop unnecessary includearch/arm/mach-mvebu/pmsu.c+0 -10 replies
3/5ARM: rockchip: drop unnecessary includearch/arm/mach-rockchip/platsmp.c+0 -10 replies
4/5ARM: vexpress: drop unnecessary includearch/arm/mach-vexpress/dcscb.c arch/arm/mach-vexpress/tc2_pm.c+0 -20 replies
5/5ARM: brcmstb: drop unnecessary includearch/arm/mach-bcm/platsmp-brcmstb.c+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ARM: move #include <asm/cp15.h> into cacheflush.h

There are several places where an explicit include of <asm/cp15.h> is needed just because cacheflush.h uses one of its macros in v7_exit_coherency_flush(). Let's put the include in the proper header.

These obviously have some dependencies, so I'd focus on:
(1) Is patch 1 acceptable? If so, then:
(2) Make sure patch 1 is serialized before the rest

I did a cursory scan of every file that includes cp15.h, and these are the only ones I found that only needed it for the sake of v7_exit_coherency_flush().

These are barely compile tested.

Thanks,
Brian

Brian Norris (5):
ARM: include missing cp15.h header
ARM: mvebu: drop unnecessary include
ARM: rockchip: drop unnecessary include
ARM: vexpress: drop unnecessary include
ARM: brcmstb: drop unnecessary include

 arch/arm/include/asm/cacheflush.h   | 1 +
 arch/arm/mach-bcm/platsmp-brcmstb.c | 1 -
 arch/arm/mach-mvebu/pmsu.c          | 1 -
 arch/arm/mach-rockchip/platsmp.c    | 1 -
 arch/arm/mach-vexpress/dcscb.c      | 1 -
 arch/arm/mach-vexpress/tc2_pm.c     | 1 -
 6 files changed, 1 insertion(+), 5 deletions(-)
Signature · 1 line
1.9.1