ARM: mohawk: allow building with MMU disabled
authorArnd Bergmann <arnd@arndb.de>
Wed, 16 Apr 2014 07:54:02 +0000 (09:54 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 1 Dec 2015 20:44:25 +0000 (21:44 +0100)
commit0f67b876092ae4fabe6ff81a92c785a69edb0022
tree814b8da150178510e20d3c9edab853603d83c900
parentd33c43ac185e2921e0f541872719588c3d491c60
ARM: mohawk: allow building with MMU disabled

It is in principle possible to build an MMP kernel for
the mohawk CPU with the MMU code disabled, except for one
simple build error:

proc-mohawk.S:345: Error: invalid operands (*UND* and *UND* sections) for `|'
proc-mohawk.S:345: Error: invalid operands (*ABS* and *UND* sections) for `|'
proc-mohawk.S:345: Error: invalid operands (*UND* and *UND* sections) for `|'
proc-mohawk.S:345: Error: invalid operands (*UND* and *UND* sections) for `|'
proc-mohawk.S:345: Error: undefined symbol L_PTE_USER used as an immediate value

This patch changes the proc-mohawk code to do the same as the
other CPUs and not try to actually do anything for the
cpu_mohawk_set_pte_ext function, which won't be used anyway.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mm/proc-mohawk.S
This page took 0.025738 seconds and 5 git commands to generate.