diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-05-29 23:51:37 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-09 07:20:57 -0400 |
commit | a5bba930d802009c259e56c8d53086d96f63813b (patch) | |
tree | 8dd60002042bc0795b3d0544fcae7f5082405b16 /include/asm-powerpc/page.h | |
parent | 98a90c02792f22afd8161f96fc9b9f0f0eb0880e (diff) |
[PATCH] powerpc vdso updates
This patch cleans up some locking & error handling in the ppc vdso and
moves the vdso base pointer from the thread struct to the mm context
where it more logically belongs. It brings the powerpc implementation
closer to Ingo's new x86 one and also adds an arch_vma_name() function
allowing to print [vsdo] in /proc/<pid>/maps if Ingo's x86 vdso patch is
also applied.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/page.h')
-rw-r--r-- | include/asm-powerpc/page.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/page.h b/include/asm-powerpc/page.h index ae610b620487..a315d0c0d96a 100644 --- a/include/asm-powerpc/page.h +++ b/include/asm-powerpc/page.h | |||
@@ -192,6 +192,9 @@ extern void copy_user_page(void *to, void *from, unsigned long vaddr, | |||
192 | struct page *p); | 192 | struct page *p); |
193 | extern int page_is_ram(unsigned long pfn); | 193 | extern int page_is_ram(unsigned long pfn); |
194 | 194 | ||
195 | struct vm_area_struct; | ||
196 | extern const char *arch_vma_name(struct vm_area_struct *vma); | ||
197 | |||
195 | #include <asm-generic/memory_model.h> | 198 | #include <asm-generic/memory_model.h> |
196 | #endif /* __ASSEMBLY__ */ | 199 | #endif /* __ASSEMBLY__ */ |
197 | 200 | ||