Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120110
b: refs/heads/master
c: 35724a0
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Dec 22, 2008
1 parent 9222bbc commit 4963e27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a99d6fde69dd9c73ac0b4e42a77ed1ebc714e56a
refs/heads/master: 35724a0aed6e62bdad640e8a1b8498329708226f
4 changes: 2 additions & 2 deletions trunk/arch/sh/include/asm/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define MMU_CONTEXT_ASID_MASK 0x000000ff
#define MMU_CONTEXT_VERSION_MASK 0xffffff00
#define MMU_CONTEXT_FIRST_VERSION 0x00000100
#define NO_CONTEXT 0
#define NO_CONTEXT 0UL

/* ASID is 8-bit value, so it can't be 0x100 */
#define MMU_NO_ASID 0x100
Expand Down Expand Up @@ -130,7 +130,7 @@ static inline void switch_mm(struct mm_struct *prev,
#define destroy_context(mm) do { } while (0)
#define set_asid(asid) do { } while (0)
#define get_asid() (0)
#define cpu_asid(cpu, mm) ({ (void)cpu; 0; })
#define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; })
#define switch_and_save_asid(asid) (0)
#define set_TTB(pgd) do { } while (0)
#define get_TTB() (0)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/mm/asids-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static int asids_seq_show(struct seq_file *file, void *iter)
continue;

if (p->mm)
seq_printf(file, "%5d : %02x\n", pid,
seq_printf(file, "%5d : %02lx\n", pid,
cpu_asid(smp_processor_id(), p->mm));
else
seq_printf(file, "%5d : (none)\n", pid);
Expand Down

0 comments on commit 4963e27

Please sign in to comment.