linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Takeharu KATO <tk1219@alles.or.jp>
To: linuxppc-dev@lists.linuxppc.org
Subject: [TRIVIAL PATCH][2.5.67] Compile fix to include appropriate file in bootloader
Date: Wed, 16 Apr 2003 01:30:36 +0900	[thread overview]
Message-ID: <3E9C33AC.6090204@alles.or.jp> (raw)

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

Dear maintainers:

I use Linux-2.5.67 on PowerPC4xx and apply the patch which is
attached in this mail to compile it.
Because Linux-2.5.67 kernel attempt to include header file for mpc8xx.
Please apply this patch.

--
-----------------------------------
Takeharu KATO
Mail: tk1219@alles.or.jp


[-- Attachment #2: linux-PPC4xx.pat --]
[-- Type: text/plain, Size: 953 bytes --]

diff -Nacr linux-PPC.orig/arch/ppc/boot/simple/misc-embedded.c linux-PPC/arch/ppc/boot/simple/misc-embedded.c
*** linux-PPC.orig/arch/ppc/boot/simple/misc-embedded.c	Mon Apr 14 09:10:30 2003
--- linux-PPC/arch/ppc/boot/simple/misc-embedded.c	Mon Apr 14 09:40:55 2003
***************
*** 11,20 ****
  #include <linux/elf.h>
  #include <linux/string.h>
  #include <asm/bootinfo.h>
- #include <asm/ibm4xx.h>
  #include <asm/mmu.h>
  #include <asm/mpc8xx.h>
  #include <asm/mpc8260.h>
  #include <asm/page.h>
  #include <asm/processor.h>
  #include <asm/residual.h>
--- 11,24 ----
  #include <linux/elf.h>
  #include <linux/string.h>
  #include <asm/bootinfo.h>
  #include <asm/mmu.h>
+ #if defined(CONFIG_4xx)
+ #include <asm/ibm4xx.h>
+ #elif defined(CONFIG_8xx)
  #include <asm/mpc8xx.h>
+ #elif defined(CONFIG_8260)
  #include <asm/mpc8260.h>
+ #endif  /*  CONFIG_4xx  */
  #include <asm/page.h>
  #include <asm/processor.h>
  #include <asm/residual.h>

             reply	other threads:[~2003-04-15 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-15 16:30 Takeharu KATO [this message]
2003-04-15 20:53 ` [TRIVIAL PATCH][2.5.67] Compile fix to include appropriate file in bootloader Matt Porter

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=3E9C33AC.6090204@alles.or.jp \
    --to=tk1219@alles.or.jp \
    --cc=linuxppc-dev@lists.linuxppc.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).