]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
init/version.c: define version_string only if CONFIG_KALLSYMS is not defined
authorDaniel Guilak <guilak@linux.vnet.ibm.com>
Fri, 25 Jul 2008 08:45:50 +0000 (01:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:29 +0000 (10:53 -0700)
commit197dcffc8ba0ea943fee86e28e99cd9575799772
treec16027ddd94da37e0af991908639912ee174d65c
parent277e2c695907a70b316a31769cd891dc4d43b7f3
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>
init/version.c