linux/kernel.h: define SYMBOL_PREFIX
authorJames Hogan <[email protected]>
Fri, 23 Nov 2012 12:08:15 +0000 (12:08 +0000)
committerRusty Russell <[email protected]>
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 <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Mike Frysinger <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
include/linux/kernel.h