summaryrefslogtreecommitdiff
path: root/include/asm-ppc/pgtable.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-14 05:55:05 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-14 05:55:05 -0700
commitbb2a045977ecae954276cbf75307ef8a13b5ed62 (patch)
treed946bcd51b2cf2cf91017ab4b8b66dec59fffb01 /include/asm-ppc/pgtable.h
parentc13dbf345d9e645447a8986f0db2a8e0c8a3d240 (diff)
[PATCH] ppc32: Move declarations into headers
From: Paul Mackerras <paulus@samba.org> The patch below moves some declarations from C files into the appropriate header file in include/asm-ppc (and removes an unused local variable in a function).
Diffstat (limited to 'include/asm-ppc/pgtable.h')
-rw-r--r--include/asm-ppc/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/pgtable.h b/include/asm-ppc/pgtable.h
index 98e9bb20e36e..f4567e2f8055 100644
--- a/include/asm-ppc/pgtable.h
+++ b/include/asm-ppc/pgtable.h
@@ -672,6 +672,8 @@ extern void kernel_set_cachemode (unsigned long address, unsigned long size,
typedef pte_t *pte_addr_t;
+extern int get_pteptr(struct mm_struct *mm, unsigned long addr, pte_t **ptep);
+
#endif /* !__ASSEMBLY__ */
#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG