Skip to content

Commit

Permalink
sh: Move asid_cache() out of ifdef to fix SH-3/4 nommu build.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jul 28, 2008
1 parent 2b4b2bb commit 761656e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/asm-sh/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
/* ASID is 8-bit value, so it can't be 0x100 */
#define MMU_NO_ASID 0x100

#ifdef CONFIG_MMU
#define asid_cache(cpu) (cpu_data[cpu].asid_cache)

#ifdef CONFIG_MMU
#define cpu_context(cpu, mm) ((mm)->context.id[cpu])

#define cpu_asid(cpu, mm) \
Expand Down

0 comments on commit 761656e

Please sign in to comment.