Files
android_kernel_fxtec_sm6115/include/linux
Rusty Russell b92021b09d CONFIG_SYMBOL_PREFIX: cleanup.
We have CONFIG_SYMBOL_PREFIX, which three archs define to the string
"_".  But Al Viro broke this in "consolidate cond_syscall and
SYSCALL_ALIAS declarations" (in linux-next), and he's not the first to
do so.

Using CONFIG_SYMBOL_PREFIX is awkward, since we usually just want to
prefix it so something.  So various places define helpers which are
defined to nothing if CONFIG_SYMBOL_PREFIX isn't set:

1) include/asm-generic/unistd.h defines __SYMBOL_PREFIX.
2) include/asm-generic/vmlinux.lds.h defines VMLINUX_SYMBOL(sym)
3) include/linux/export.h defines MODULE_SYMBOL_PREFIX.
4) include/linux/kernel.h defines SYMBOL_PREFIX (which differs from #7)
5) kernel/modsign_certificate.S defines ASM_SYMBOL(sym)
6) scripts/modpost.c defines MODULE_SYMBOL_PREFIX
7) scripts/Makefile.lib defines SYMBOL_PREFIX on the commandline if
   CONFIG_SYMBOL_PREFIX is set, so that we have a non-string version
   for pasting.

(arch/h8300/include/asm/linkage.h defines SYMBOL_NAME(), too).

Let's solve this properly:
1) No more generic prefix, just CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX.
2) Make linux/export.h usable from asm.
3) Define VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR().
4) Make everyone use them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Tested-by: James Hogan <james.hogan@imgtec.com> (metag)
2013-03-15 15:09:43 +10:30
..
2011-03-31 11:26:23 -03:00
2013-03-01 13:39:00 -08:00
2013-02-22 09:22:19 +02:00
2013-01-02 17:36:10 -08:00
2012-10-08 13:50:20 +10:30
2009-09-08 17:42:50 -07:00
2012-12-02 00:05:12 +00:00
2009-04-01 08:59:23 -07:00
2011-03-11 14:25:50 +00:00
2011-08-03 11:30:42 -04:00
2008-06-06 11:29:10 -07:00
2013-02-25 09:24:55 -05:00
2010-08-04 11:00:45 +02:00
2007-02-09 17:39:36 -05:00
2012-11-08 16:58:31 +01:00
2013-02-21 14:16:27 -03:00
2013-02-26 02:46:08 -05:00
2008-01-28 23:21:18 +01:00
2011-09-14 15:24:51 -04:00
2013-03-15 15:09:43 +10:30
2012-11-22 13:43:27 +09:00
2013-01-24 09:04:04 +01:00
2005-04-16 15:20:36 -07:00
2012-11-28 21:49:02 -05:00
2013-02-22 23:31:31 -05:00
2009-06-18 13:04:05 -07:00
2011-03-31 11:26:23 -03:00
2013-02-27 19:10:21 -08:00
2008-08-02 18:36:10 +01:00
2012-12-14 13:05:26 +10:30
2013-01-29 13:59:57 -05:00
2005-04-16 15:20:36 -07:00
2012-09-07 14:57:45 -04:00
2012-03-20 12:47:48 +01:00
2012-11-21 15:09:26 -08:00
2012-05-31 17:49:32 -07:00
2013-03-15 15:09:43 +10:30
2011-09-16 19:20:20 -04:00
2012-10-10 01:15:44 -04:00
2012-03-15 21:41:34 +01:00
2012-12-12 17:38:33 -08:00
2013-03-15 15:09:43 +10:30
2012-12-14 13:06:40 +10:30
2012-12-11 17:22:27 -08:00
2011-03-31 11:26:23 -03:00
2013-01-24 15:37:26 +01:00
2013-01-23 13:44:00 -05:00
2010-02-10 17:47:17 -08:00
2012-11-16 14:33:04 -08:00
2013-02-19 08:43:34 +01:00
2013-02-10 19:41:08 -05:00
2012-06-13 21:16:42 +02:00
2010-08-09 16:48:44 -04:00
2005-04-16 15:20:36 -07:00
2013-02-14 09:21:15 -05:00
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
2010-11-29 08:55:25 +11:00
2012-07-22 23:57:55 +04:00
2013-01-25 15:06:01 -08:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00