diff options
author | Daniel Guilak <guilak@linux.vnet.ibm.com> | 2008-07-25 10:45:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 19:53:29 +0200 |
commit | 197dcffc8ba0ea943fee86e28e99cd9575799772 (patch) | |
tree | c16027ddd94da37e0af991908639912ee174d65c /drivers | |
parent | init/version.c: silence sparse warning by declaring the version string (diff) | |
download | linux-197dcffc8ba0ea943fee86e28e99cd9575799772.tar.xz linux-197dcffc8ba0ea943fee86e28e99cd9575799772.zip |
init/version.c: define version_string only if CONFIG_KALLSYMS is not defined
int Version_* is only used with ksymoops, which is only needed (according
to README and Documentation/Changes) if CONFIG_KALLSYMS is NOT defined.
Therefore this patch defines version_string only if CONFIG_KALLSYMS is not
defined.
Signed-off-by: Daniel Guilak <daniel@danielguilak.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions