Re: warning message posted from apic.h

From: Jakub Jelinek (jakub@redhat.com)
Date: Tue Oct 03 2000 - 16:49:53 EST


On Fri, Sep 29, 2000 at 11:09:33AM +0000, Stephen Torri wrote:
> I get the following message compiling 2.4.0-test6 or test8 on a RedHat 7
> system. "/usr/src/linux/include/asm/apic.h:13:29: warning: nothing can be
> posted after this token". Is this an issue with apic?

Yes, this one is apic.h bug which RHL 7 cpp warns about:

--- linux/include/asm-i386/apic.h.jj Mon Oct 2 20:01:18 2000
+++ linux/include/asm-i386/apic.h Tue Oct 3 23:50:33 2000
@@ -10,7 +10,7 @@
 #ifdef CONFIG_X86_LOCAL_APIC

 #if APIC_DEBUG
-#define Dprintk(x...) printk(##x)
+#define Dprintk(x...) printk(x)
 #else
 #define Dprintk(x...)
 #endif

        Jakub
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:12 EST