diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-29 16:32:35 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-29 16:32:35 -0500 |
commit | 33edcf133ba93ecba2e4b6472e97b689895d805c (patch) | |
tree | 327d7a20acef64005e7c5ccbfa1265be28aeb6ac /arch/sh/include/asm/mmu_context.h | |
parent | be4d638c1597580ed2294d899d9f1a2cd10e462c (diff) | |
parent | 3c92ec8ae91ecf59d88c798301833d7cf83f2179 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'arch/sh/include/asm/mmu_context.h')
-rw-r--r-- | arch/sh/include/asm/mmu_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/include/asm/mmu_context.h b/arch/sh/include/asm/mmu_context.h index 04c0c9733ad6..5d9157bd474d 100644 --- a/arch/sh/include/asm/mmu_context.h +++ b/arch/sh/include/asm/mmu_context.h | |||
@@ -22,7 +22,7 @@ | |||
22 | #define MMU_CONTEXT_ASID_MASK 0x000000ff | 22 | #define MMU_CONTEXT_ASID_MASK 0x000000ff |
23 | #define MMU_CONTEXT_VERSION_MASK 0xffffff00 | 23 | #define MMU_CONTEXT_VERSION_MASK 0xffffff00 |
24 | #define MMU_CONTEXT_FIRST_VERSION 0x00000100 | 24 | #define MMU_CONTEXT_FIRST_VERSION 0x00000100 |
25 | #define NO_CONTEXT 0 | 25 | #define NO_CONTEXT 0UL |
26 | 26 | ||
27 | /* ASID is 8-bit value, so it can't be 0x100 */ | 27 | /* ASID is 8-bit value, so it can't be 0x100 */ |
28 | #define MMU_NO_ASID 0x100 | 28 | #define MMU_NO_ASID 0x100 |
@@ -130,7 +130,7 @@ static inline void switch_mm(struct mm_struct *prev, | |||
130 | #define destroy_context(mm) do { } while (0) | 130 | #define destroy_context(mm) do { } while (0) |
131 | #define set_asid(asid) do { } while (0) | 131 | #define set_asid(asid) do { } while (0) |
132 | #define get_asid() (0) | 132 | #define get_asid() (0) |
133 | #define cpu_asid(cpu, mm) ({ (void)cpu; 0; }) | 133 | #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; }) |
134 | #define switch_and_save_asid(asid) (0) | 134 | #define switch_and_save_asid(asid) (0) |
135 | #define set_TTB(pgd) do { } while (0) | 135 | #define set_TTB(pgd) do { } while (0) |
136 | #define get_TTB() (0) | 136 | #define get_TTB() (0) |