]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedcdfaa3ac5c17e35dd30550d2636c7dfac80f28
treecbfa6bde5749400adb1e236e5501e7ffe2777c8d
parent53266d5ffeda6375a1122313f19522e2d595edbf
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