aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/mmu.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-06-11 00:15:17 -0400
committerPaul Mackerras <paulus@samba.org>2006-06-11 00:15:17 -0400
commit6218a761bbc27acc65248c80024875bcc06d52b1 (patch)
tree59a278c4c189f838ede99de5fd46241d1923f52b /include/asm-ppc/mmu.h
parent050613545b389825c1f5beb67fa2667b727f866d (diff)
powerpc: add context.vdso_base for 32-bit too
This adds a vdso_base element to the mm_context_t for 32-bit compiles (both for ARCH=powerpc and ARCH=ppc). This fixes the compile errors that have been reported in arch/powerpc/kernel/signal_32.c. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc/mmu.h')
-rw-r--r--include/asm-ppc/mmu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h
index 9205db404c7a..80ae60481fb7 100644
--- a/include/asm-ppc/mmu.h
+++ b/include/asm-ppc/mmu.h
@@ -24,8 +24,10 @@ extern phys_addr_t fixup_bigphys_addr(phys_addr_t, phys_addr_t);
24#define PHYS_FMT "%16Lx" 24#define PHYS_FMT "%16Lx"
25#endif 25#endif
26 26
27/* Default "unsigned long" context */ 27typedef struct {
28typedef unsigned long mm_context_t; 28 unsigned long id;
29 unsigned long vdso_base;
30} mm_context_t;
29 31
30/* Hardware Page Table Entry */ 32/* Hardware Page Table Entry */
31typedef struct _PTE { 33typedef struct _PTE {