Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=569fb7536ea66e3364a8ff0b26598c6c9874d657
Commit:     569fb7536ea66e3364a8ff0b26598c6c9874d657
Parent:     44659f29a0a26dcdbf516a82b0ff96d6ba464724
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 10 16:56:33 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 17:33:06 2007 +0100

    [MIPS] WRPPMC: Fix build.
    
    Using another systems defines is a safe way to get your code broken by
    accident when that system is removed.
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/gt64120/wrppmc/setup.c |    4 ++--
 include/asm-mips/bootinfo.h      |    3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/mips/gt64120/wrppmc/setup.c b/arch/mips/gt64120/wrppmc/setup.c
index 121188d..ea96552 100644
--- a/arch/mips/gt64120/wrppmc/setup.c
+++ b/arch/mips/gt64120/wrppmc/setup.c
@@ -158,8 +158,8 @@ const char *get_system_type(void)
  */
 void __init prom_init(void)
 {
-       mips_machgroup = MACH_GROUP_GALILEO;
-       mips_machtype = MACH_EV64120A;
+       mips_machgroup = MACH_GROUP_WINDRIVER;
+       mips_machtype = MACH_WRPPMC;
 
        add_memory_region(WRPPMC_SDRAM_SCS0_BASE, WRPPMC_SDRAM_SCS0_SIZE, 
BOOT_MEM_RAM);
        add_memory_region(WRPPMC_BOOTROM_BASE, WRPPMC_BOOTROM_SIZE, 
BOOT_MEM_ROM_DATA);
diff --git a/include/asm-mips/bootinfo.h b/include/asm-mips/bootinfo.h
index 075a4d3..087126a 100644
--- a/include/asm-mips/bootinfo.h
+++ b/include/asm-mips/bootinfo.h
@@ -218,6 +218,9 @@
 #define MACH_MSP7120_FPGA       5      /* PMC-Sierra MSP7120 Emulation */
 #define MACH_MSP_OTHER        255      /* PMC-Sierra unknown board type */
 
+#define MACH_GROUP_WINDRIVER   28      /* Windriver boards */
+#define MACH_WRPPMC             1
+
 #define CL_SIZE                        COMMAND_LINE_SIZE
 
 const char *get_system_type(void);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to