]> git.karo-electronics.de Git - karo-tx-linux.git/commit
compiler{,-gcc4}.h, bug.h: Remove duplicate macros
authorDaniel Santos <daniel.santos@pobox.com>
Wed, 20 Feb 2013 02:13:29 +0000 (13:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:00 +0000 (16:52 +1100)
commit710b33fdcb820913714f1618451ec89240be3816
treeb7ef5a42cea4014dc11bd8d6df7db4f06fcb2214
parent21f883b84e8f87b0964991add60f6343955a6059
compiler{,-gcc4}.h, bug.h: Remove duplicate macros

__linktime_error() does the same thing as __compiletime_error() and is
only used in bug.h.  Since the macro defines a function attribute that
will cause a failure at compile-time (not link-time), it makes more sense
to keep __compiletime_error(), which is also neatly mated with
__compiletime_warning().

Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Borislav Petkov <bp@alien8.de>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Joe Perches <joe@perches.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/bug.h
include/linux/compiler-gcc4.h
include/linux/compiler.h