Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[atch for files in sys/arch/rs6000/rs6000



Hello,
Please consider this patch. Without this patch the compilation breaks
when option DEBUG is not defined in a kernel config file

--- sys/arch/rs6000/rs6000/org\machdep.c        2008-12-01 04:09:42 +0000
+++ sys/arch/rs6000/rs6000/machdep.c    2008-12-01 04:09:42 +0000
@@ -147,7 +147,9 @@
 {
        printf("HELLO?!\n");
        setled(0x55500000);
+#if DEBUG
        Debugger();
+#endif
 #if 0
         li      %r28,0x00000041 /* PUT A to R28*/
         li      %r29,0x30       /* put serial addr to r29*/
--- sys/arch/rs6000/rs6000/org\mainbus.c        2008-04-29 04:04:00 +0000
+++ sys/arch/rs6000/rs6000/mainbus.c    2008-04-29 04:04:00 +0000
@@ -86,8 +86,9 @@
 {
        union mainbus_attach_args mba;
        struct confargs ca;
+#if DEBUG
        int slot;
-
+#endif
        mainbus_found = 1;

        aprint_normal("\n");


Home | Main Index | Thread Index | Old Index