ARM: 6860/1: OMAP4: Move the privately used SMP boot functions to OMAP specific header.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 4 Apr 2011 08:32:46 +0000 (09:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Apr 2011 08:36:21 +0000 (09:36 +0100)
commit43b3e1898206a1e385c9cb06f6040ea83a58b638
treecbfa6bde5749400adb1e236e5501e7ffe2777c8d
parent78fca1b95837a44983608302e89c7258981be9b3
ARM: 6860/1: OMAP4: Move the privately used SMP boot functions to OMAP specific header.

Header files in arch/arm/*/include/mach included from
arch/arm/include/asm/*.h are there to provide necessary definitions for
either the rest of the kernel or the ARM specific parts.  They shouldn't
be polluted with *any* platform private stuff which is not absolutely
necessary to satisfy the rest of the kernel.

Hence move the OMAP specific SMP boot functions to different header
instead of keeping them in 'plat/smp.h' which gets included indirectly
by linux/smp.h

The patch is outcome of the discussion in below thread:
http://www.spinics.net/lists/arm-kernel/msg120363.html

Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/include/mach/omap4-common.h
arch/arm/plat-omap/include/plat/smp.h