diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-10-09 00:01:39 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-03 07:29:17 +0100 |
commit | 7cff7ce94a7df2ccf5ac76b48ee0995fee2060df (patch) | |
tree | d9bbec339e1f412c58eb435f88c1a8cf9450531b /include/linux/spinlock.h | |
parent | 99063c0bcebcc913165a5d168050326eba3e0996 (diff) |
include/linux/compiler-gcc4.h: Fix build bug - gcc-4.0.2 doesn't understand __builtin_object_size
Maybe 4.1.0 doesn't too, but this fixed it for me.
Caused by:
4a31276: x86: Turn the copy_from_user check into an (optional) compile time warning
9f0cf4a: x86: Use __builtin_object_size() to validate the buffer size for copy_from_user()
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
LKML-Reference: <200910090724.n997OQl6013538@imap1.linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/spinlock.h')
0 files changed, 0 insertions, 0 deletions