]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/compiler-gcc4.h
x86: Add a Kconfig option to turn the copy_from_user warnings into errors
[net-next-2.6.git] / include / linux / compiler-gcc4.h
index f1709c1f9eae99ea57f0c9b42d4f5dd149fcb169..77542c57e20a4d03d7d916c3ffaa1395701d6dc6 100644 (file)
@@ -41,4 +41,5 @@
 #define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
 #if __GNUC_MINOR__ >= 4
 #define __compiletime_warning(message) __attribute__((warning(message)))
+#define __compiletime_error(message) __attribute__((error(message)))
 #endif