[klibc] Add __attribute_used__; needed for ia64 kernel headers

The ia64 kernel headers apparently use __attribute_used__ outside
__KERNEL__; make sure <klibc/compiler.h> provides it.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
diff --git a/usr/include/klibc/compiler.h b/usr/include/klibc/compiler.h
index 893f8a9..d566234 100644
--- a/usr/include/klibc/compiler.h
+++ b/usr/include/klibc/compiler.h
@@ -116,6 +116,13 @@
 # define __bitwise
 #endif
 
+/* Shut up unused warnings */
+#ifdef __GNUC__
+# define __attribute_used__ __attribute__((used))
+#else
+# define __attribute_used__
+#endif
+
 /* Compiler pragma to make an alias symbol */
 #define __ALIAS(__t, __f, __p, __a) \
   __t __f __p __attribute__((weak, alias(#__a)));