commit | 0871b7248113ebfccbfabcd3fd1f867a2bc681f4 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Jul 17 10:33:04 2015 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Jul 17 15:08:40 2015 +0100 |
tree | 89a5fddb18c7133654d3e53c0e84a3eebbd4ed7b | |
parent | bac51ad9d14f6baed3730ef53bedc1eb2238563a [diff] |
ARM: fix __virt_to_idmap build error on !MMU Fengguang Wu reports that building ARM with !MMU results in the following build error: arch/arm/kernel/built-in.o: In function `__soft_restart': >> :(.text+0x1624): undefined reference to `arch_virt_to_idmap' Fix this by adding an appropriate IS_ENABLED(CONFIG_MMU) into the __virt_to_idmap() inline function. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>