All of lore.kernel.org
 help / color / mirror / Atom feed
* get_pteptr prototype
@ 2003-01-06 22:59 Hollis Blanchard
  2003-01-07  0:57 ` David Gibson
  0 siblings, 1 reply; 9+ messages in thread
From: Hollis Blanchard @ 2003-01-06 22:59 UTC (permalink / raw)
  To: paulus; +Cc: devel list

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

Hi, I think the prototype for get_pteptr should be moved to
asm/pgtable.h . It currently is declared extern in mm/fault.c, and I
will need it for platforms/ibm405lp_pm.c .

Please apply to _2_4_devel and -2.5, and probably _2_4 for that matter.

-Hollis
--
PowerPC Linux
IBM Linux Technology Center

[-- Attachment #2: get_pteptr.diff --]
[-- Type: text/plain, Size: 1637 bytes --]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux 2.4 for PowerPC development tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1179  -> 1.1180 
#	include/asm-ppc/pgtable.h	1.52    -> 1.53   
#	 arch/ppc/mm/fault.c	1.28    -> 1.29   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/01/06	hollis@granite.austin.ibm.com	1.1180
# move get_pteptr prototype to pgtable.h
# --------------------------------------------
#
diff -Nru a/arch/ppc/mm/fault.c b/arch/ppc/mm/fault.c
--- a/arch/ppc/mm/fault.c	Mon Jan  6 16:46:23 2003
+++ b/arch/ppc/mm/fault.c	Mon Jan  6 16:46:23 2003
@@ -55,7 +55,6 @@
 extern void die_if_kernel(char *, struct pt_regs *, long);
 void bad_page_fault(struct pt_regs *, unsigned long, int sig);
 void do_page_fault(struct pt_regs *, unsigned long, unsigned long);
-extern int get_pteptr(struct mm_struct *mm, unsigned long addr, pte_t **ptep);
 
 /*
  * For 600- and 800-family processors, the error_code parameter is DSISR
diff -Nru a/include/asm-ppc/pgtable.h b/include/asm-ppc/pgtable.h
--- a/include/asm-ppc/pgtable.h	Mon Jan  6 16:46:23 2003
+++ b/include/asm-ppc/pgtable.h	Mon Jan  6 16:46:23 2003
@@ -112,6 +112,7 @@
 extern unsigned long va_to_phys(unsigned long address);
 extern pte_t *va_to_pte(unsigned long address);
 extern unsigned long ioremap_bot, ioremap_base;
+extern int get_pteptr(struct mm_struct *mm, unsigned long addr, pte_t **ptep);
 #endif /* __ASSEMBLY__ */
 
 /*

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-01-10  0:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-06 22:59 get_pteptr prototype Hollis Blanchard
2003-01-07  0:57 ` David Gibson
2003-01-08 15:48   ` Hollis Blanchard
2003-01-08 23:49     ` David Gibson
2003-01-09  0:11       ` Hollis Blanchard
2003-01-09  2:33         ` David Gibson
2003-01-09 15:55           ` Hollis Blanchard
2003-01-10  0:42             ` David Gibson
     [not found]         ` <1042107732.567.2.camel@zion.wanadoo.fr>
2003-01-09 16:53           ` 405LP sleep, no PTEs (was: get_pteptr prototype) Hollis Blanchard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.