compiler: Introduce __always_unused
commit7b2a35132ad0a70902dcd2844c27ed64cda0ce9b
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 2 Nov 2009 00:50:52 +0000 (2 08:50 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Nov 2009 14:47:54 +0000 (2 15:47 +0100)
treef800a7d536d7850ac5cfeca5eb576f9af568751d
parentc4b8ac2c1aee1398b9378b8730bac56294b3410b
compiler: Introduce __always_unused

I wrote some code which is used as compile-time checker, and the
code should be elided after compile.

So I need to annotate the code as "always unused", compared to
"maybe unused".

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <4AEE2CEC.8040206@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/compiler-gcc.h
include/linux/compiler.h