From: "Kip Walker" <kwalker@broadcom.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: patch: mm/init.c warning
Date: Thu, 24 Apr 2003 08:47:31 -0700 [thread overview]
Message-ID: <3EA80713.268F0CD6@broadcom.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
I know I'm not the first to send something like this... can we please
apply this warning fix for arch/mips/mm/init.c in the non-HIGHMEM case?
thanks,
Kip
[-- Attachment #2: mm_init.diff --]
[-- Type: text/plain, Size: 1014 bytes --]
Index: arch/mips/mm/init.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/mm/init.c,v
retrieving revision 1.38.2.11
diff -u -r1.38.2.11 init.c
--- arch/mips/mm/init.c 23 Apr 2003 15:30:16 -0000 1.38.2.11
+++ arch/mips/mm/init.c 24 Apr 2003 15:46:36 -0000
@@ -151,6 +151,7 @@
extern char _ftext, _etext, _fdata, _edata;
extern char __init_begin, __init_end;
+#ifdef CONFIG_HIGHMEM
static void __init fixrange_init (unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
@@ -179,22 +180,25 @@
j = 0;
}
}
+#endif
void __init pagetable_init(void)
{
+#ifdef CONFIG_HIGHMEM
unsigned long vaddr;
pgd_t *pgd, *pgd_base;
pmd_t *pmd;
pte_t *pte;
+#endif
/* Initialize the entire pgd. */
pgd_init((unsigned long)swapper_pg_dir);
pgd_init((unsigned long)swapper_pg_dir +
sizeof(pgd_t ) * USER_PTRS_PER_PGD);
+#ifdef CONFIG_HIGHMEM
pgd_base = swapper_pg_dir;
-#ifdef CONFIG_HIGHMEM
/*
* Fixed mappings:
*/
next reply other threads:[~2003-04-24 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-24 15:47 Kip Walker [this message]
2003-04-26 1:58 ` patch: mm/init.c warning Ralf Baechle
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=3EA80713.268F0CD6@broadcom.com \
--to=kwalker@broadcom.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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 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.