linux/kernel.h: define SYMBOL_PREFIX
authorJames Hogan <james.hogan@imgtec.com>
Fri, 23 Nov 2012 12:08:15 +0000 (12:08 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 3 Dec 2012 02:35:54 +0000 (13:05 +1030)
commitcbdbf2abb7844548a7d7a6a2ae7af6b6fbcea401
tree45206a552bc43fac75fa476cb29c22a87a58c85f
parent3c46f3d6406b1d0c53575774b2d1fd013cd7f76f
linux/kernel.h: define SYMBOL_PREFIX

Define SYMBOL_PREFIX to be the same as CONFIG_SYMBOL_PREFIX if set by
the architecture, or "" otherwise. This avoids the need for ugly #ifdefs
whenever symbols are referenced in asm blocks.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Joe Perches <joe@perches.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/kernel.h