]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: EVA: Add new EVA header
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 21 Jul 2014 13:35:54 +0000 (14:35 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Aug 2014 16:24:40 +0000 (18:24 +0200)
commit7cf87df8635a74d0c2f473bd3ea4e6eda375124e
treede9d218324516fe2b18fecbda3a30c4af42e184e
parent8e323958a8d4507c0bb6ea107905de2af58fd945
MIPS: EVA: Add new EVA header

Generic code may need to perform certain operations when EVA is
enabled, for example, configure the segmentation registers during
boot. In order to avoid using more CONFIG_EVA ifdefs in the arch code,
such functions will be added in this header instead.
Initially this header contains a macro which will be used by generic
code later on during VPEs configuration on secondary cores.
All it does is to call the platform specific EVA init code in case
EVA is enabled.

Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: http://patchwork.linux-mips.org/patch/7422/
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/mips/include/asm/eva.h [new file with mode: 0644]