Skip to contentSkip to conversation

[2.5.67] Compile fix to include appropriate file in bootloader

PATCH In review Takeharu KATO 2 participants 2 messages Apr 15, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [2.5.67] Compile fix to include appropriate file in bootloader

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: [email protected]

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>

#1 lore raw
Quoted 6 lines · Takeharu KATO

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.

Whoops, I've had this fix in my working tree for a while now. Thanks for the reminder. Committed.

--
Matt Porter
[email protected]
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/