From: Karl Lessard <klessard@sunrisetelecom.com>
To: linux-mips <linux-mips@linux-mips.org>
Subject: Re: Patch for prom envp
Date: Thu, 14 Oct 2004 11:04:55 -0400 [thread overview]
Message-ID: <416E9597.9010808@sunrisetelecom.com> (raw)
In-Reply-To: 416E92CD.4020202@sunrisetelecom.com
[-- Attachment #1: Type: text/plain, Size: 81 bytes --]
Oups, use this one instead, it takes care of removing the warnings also...
Karl
[-- Attachment #2: prom-envp-1.patch --]
[-- Type: text/plain, Size: 1509 bytes --]
diff -urp linux-mips/arch/mips/au1000/pb1100/init.c linux/arch/mips/au1000/pb1100/init.c
--- linux-mips/arch/mips/au1000/pb1100/init.c Mon Nov 17 20:17:46 2003
+++ linux/arch/mips/au1000/pb1100/init.c Thu Oct 14 10:58:35 2004
@@ -53,7 +53,7 @@ void __init prom_init(void)
prom_argc = fw_arg0;
prom_argv = (char **) fw_arg1;
- prom_envp = (int *) fw_arg3;
+ prom_envp = (char **) fw_arg2;
mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_PB1100;
diff -urp linux-mips/arch/mips/ite-boards/ivr/init.c linux/arch/mips/ite-boards/ivr/init.c
--- linux-mips/arch/mips/ite-boards/ivr/init.c Mon Nov 17 20:17:46 2003
+++ linux/arch/mips/ite-boards/ivr/init.c Thu Oct 14 10:59:35 2004
@@ -60,7 +60,7 @@ void __init prom_init(void)
prom_argc = fw_arg0;
prom_argv = (char **) fw_arg1;
- prom_envp = (int *) fw_arg3;
+ prom_envp = (char **) fw_arg2;
mips_machgroup = MACH_GROUP_GLOBESPAN;
mips_machtype = MACH_IVR; /* Globespan's iTVC15 reference board */
diff -urp linux-mips/arch/mips/ite-boards/qed-4n-s01b/init.c linux/arch/mips/ite-boards/qed-4n-s01b/init.c
--- linux-mips/arch/mips/ite-boards/qed-4n-s01b/init.c Mon Nov 17 20:17:46 2003
+++ linux/arch/mips/ite-boards/qed-4n-s01b/init.c Thu Oct 14 11:00:14 2004
@@ -60,7 +60,7 @@ void __init prom_init(void)
prom_argc = fw_arg0;
prom_argv = (char **) fw_arg1;
- prom_envp = (int *) fw_arg3;
+ prom_envp = (char **) fw_arg2;
mips_machgroup = MACH_GROUP_ITE;
mips_machtype = MACH_QED_4N_S01B; /* ITE board name/number */
prev parent reply other threads:[~2004-10-14 15:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-14 14:53 Patch for prom envp Karl Lessard
2004-10-14 15:04 ` Karl Lessard [this message]
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=416E9597.9010808@sunrisetelecom.com \
--to=klessard@sunrisetelecom.com \
--cc=linux-mips@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox