[PATCH][2.4] typo in include/linux/compiler.h

From: Zwane Mwaikambo
Date: Fri Apr 23 2004 - 11:23:25 EST


On Thu, 22 Apr 2004, Marcelo Tosatti wrote:

> Scott Feldman:
> o Update MAINTAINERS with new e100/e100 maintainers
>
> Zwane Mwaikambo:
> o fix module load with gcc3.3.3

Hello Marcelo,
I appear to have missed a small fix, although it won't affect
anyone for a while to come;

--- linux-2.4-bk/include/linux/compiler.h 2004-04-23 12:17:12.292797432 -0400
+++ linux-2.4-bk/include/linux/compiler.h-patch 2004-04-23 12:18:11.923732152 -0400
@@ -14,7 +14,7 @@
#define unlikely(x) __builtin_expect((x),0)

#if __GNUC__ > 3
-#define __attribute_used__ __attribute((__used__))
+#define __attribute_used__ __attribute__((__used__))
#elif __GNUC__ == 3
#if __GNUC_MINOR__ >= 3
# define __attribute_used__ __attribute__((__used__))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/