Commit 761656e6 authored by Paul Mundt's avatar Paul Mundt

sh: Move asid_cache() out of ifdef to fix SH-3/4 nommu build.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 2b4b2bb4
...@@ -27,8 +27,9 @@ ...@@ -27,8 +27,9 @@
/* ASID is 8-bit value, so it can't be 0x100 */ /* ASID is 8-bit value, so it can't be 0x100 */
#define MMU_NO_ASID 0x100 #define MMU_NO_ASID 0x100
#ifdef CONFIG_MMU
#define asid_cache(cpu) (cpu_data[cpu].asid_cache) #define asid_cache(cpu) (cpu_data[cpu].asid_cache)
#ifdef CONFIG_MMU
#define cpu_context(cpu, mm) ((mm)->context.id[cpu]) #define cpu_context(cpu, mm) ((mm)->context.id[cpu])
#define cpu_asid(cpu, mm) \ #define cpu_asid(cpu, mm) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment