Files
ubports_kernel_google_msm/include/linux
Ustyugov Roman f83b5e323f kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names
This patch fixes a problem when we use well known kernel symbols as module
names.

For example, if module source name is current.c, idle_stack.c or etc.,
we have a bad KBUILD_MODNAME value.
For example, KBUILD_MODNAME will be "get_current()" instead of "current", or
"(init_thread_union.stack)" instead of "idle_task".

The trick is to define a stringify macro on the commandline - named
KBUILD_STR for namespace reasons - and then to stringify the module
name.

There are a few uses of KBUILD_MODNAME throughout the tree but the usage
is for debug and will not be harmed by this change so left untouched for now.

While at it KBUILD_BASENAME was changed too. Any spinlock usage in the
unix module would have created wrong section names without it.
Usage in spinlock.h fixed so it no longer stringify KBUILD_BASENAME.

Original patch from Ustyogov Roman - all bugs introduced by me.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2005-12-26 00:33:41 +01:00
..
2005-11-13 18:14:17 -08:00
2005-08-25 12:40:44 -04:00
2005-10-22 14:27:05 -04:00
2005-10-28 08:16:49 -07:00
2005-09-07 16:57:21 -07:00
2005-10-04 13:22:01 -07:00
2005-06-23 09:45:26 -07:00
2005-10-28 08:16:47 -07:00
2005-09-10 10:06:21 -07:00
2005-07-10 15:45:11 -07:00
2005-09-10 10:16:27 -07:00
2005-11-07 07:53:35 -08:00
2005-05-01 08:59:03 -07:00
2005-10-30 17:37:32 -08:00
2005-05-15 18:31:07 -04:00
2005-10-30 17:37:10 -08:00
2005-09-05 00:06:09 -07:00
2005-09-07 16:57:21 -07:00
2005-05-19 22:43:37 -07:00
2005-11-05 21:00:02 -05:00
2005-07-13 11:25:24 -07:00
2005-07-12 12:08:43 -07:00
2005-11-13 18:14:10 -08:00
2005-11-09 07:55:59 -08:00
2005-10-30 17:37:32 -08:00
2005-06-21 18:46:18 -07:00
2005-11-10 02:26:41 +01:00
2005-11-14 19:56:02 -08:00
2005-07-12 12:08:43 -07:00
2005-09-05 09:14:13 -07:00
2005-06-15 12:38:14 +01:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-11-08 17:14:08 +01:00
2005-08-29 16:01:32 -07:00
2005-05-05 14:25:59 -07:00
2005-11-08 09:40:47 -08:00
2005-07-05 15:03:46 -07:00
2005-08-29 16:01:32 -07:00
2005-09-19 15:41:28 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:49:46 -07:00
2005-06-21 18:46:32 -07:00
2005-08-29 15:43:19 -07:00
2005-10-03 14:13:38 -07:00
2005-11-07 07:53:41 -08:00
2005-11-07 14:18:56 +01:00
2005-09-17 11:50:02 -07:00
2005-06-25 16:24:55 -07:00
2005-10-08 15:00:57 -07:00
2005-10-30 17:37:32 -08:00
2005-10-28 08:16:47 -07:00
2005-10-30 17:37:17 -08:00
2005-11-14 14:14:16 -05:00
2005-05-20 12:53:50 -05:00
2005-10-28 08:16:47 -07:00
2005-09-14 08:46:21 -04:00
2005-11-14 19:56:02 -08:00
2005-11-07 18:18:11 -08:00
2005-11-09 07:56:00 -08:00
2005-06-24 00:06:28 -07:00
2005-06-23 09:45:04 -07:00
2005-11-13 18:14:12 -08:00
2005-11-17 16:23:41 +00:00
2005-11-13 18:14:15 -08:00
2005-09-07 16:57:24 -07:00
2005-09-13 08:22:31 -07:00
2005-06-27 15:11:43 -07:00
2005-11-07 07:54:09 -08:00
2005-11-07 07:53:42 -08:00
2005-11-07 07:53:39 -08:00
2005-11-06 12:32:31 -06:00
2005-09-09 13:57:54 -07:00
2005-10-28 08:16:47 -07:00
2005-09-07 16:57:18 -07:00
2005-11-07 07:53:46 -08:00
2005-10-29 21:40:41 -07:00
2005-10-30 11:14:39 +11:00
2005-06-27 15:11:44 -07:00
2005-11-07 07:53:41 -08:00
2005-10-30 17:37:32 -08:00
2005-11-07 07:53:37 -08:00
2005-10-30 17:37:19 -08:00
2005-08-29 16:01:32 -07:00
2005-09-10 10:06:21 -07:00
2005-10-28 08:16:47 -07:00
2005-09-05 00:05:45 -07:00
2005-10-30 17:37:20 -08:00
2005-06-20 15:15:37 -07:00
2005-11-10 17:14:59 -08:00
2005-10-30 17:37:32 -08:00
2005-09-18 00:18:32 -07:00
2005-10-30 17:37:18 -08:00
2005-09-09 13:57:58 -07:00
2005-10-28 08:16:46 -07:00
2005-07-12 11:52:57 -07:00
2005-10-28 08:16:49 -07:00
2005-10-29 21:40:35 -07:00
2005-11-07 07:53:41 -08:00
2005-07-12 12:08:43 -07:00