From: Hollis Blanchard <hollis@austin.ibm.com>
To: paulus@samba.org
Cc: devel list <linuxppc-dev@lists.linuxppc.org>
Subject: get_pteptr prototype
Date: 06 Jan 2003 16:59:26 -0600 [thread overview]
Message-ID: <1041893967.1207.42.camel@granite.austin.ibm.com> (raw)
[-- 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__ */
/*
next reply other threads:[~2003-01-06 22:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-06 22:59 Hollis Blanchard [this message]
2003-01-07 0:57 ` get_pteptr prototype 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1041893967.1207.42.camel@granite.austin.ibm.com \
--to=hollis@austin.ibm.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).