(ppc) multiple #include bug

Alex Zuepke (azu@sysgo.de)
Tue, 23 Oct 2001 12:19:57 +0200


hi,

i had some compiler errors when playing with the linux trace toolkit
(ltt) and tracked them down:

there is no prevention against multiple #includes in
include/asm-ppc/time.h.
and include/asm-ppc/smplock.h doesn't seem to be safe, too.

i tried kernel 2.4.13.

please add the #ifndef _filename_ \ #define _filename_ \ #endif stuff.

regards,

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