]> git.baikalelectronics.ru Git - kernel.git/commit
compiler-gcc4.h: correct verion check for __compiletime_error
authorDaniel Santos <daniel.santos@pobox.com>
Fri, 28 Sep 2012 23:20:02 +0000 (18:20 -0500)
committerMichal Marek <mmarek@suse.cz>
Thu, 11 Oct 2012 20:51:41 +0000 (22:51 +0200)
commit96b59494aeffc67c21fbfefa5ebef67ee7d1761c
tree35a336c2ff5adf55e66c6144dd14fa77d89dcbb3
parentf3fad7a344a6dac31d6ec3590408f54041d5783d
compiler-gcc4.h: correct verion check for __compiletime_error

__attribute__((error(msg))) was introduced in gcc 4.3 (not 4.4) and as I
was unable to find any gcc bugs pertaining to it, I'm presuming that it
has functioned as advertised since 4.3.0.

Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: David Rientjes <rientjes@google.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
include/linux/compiler-gcc4.h