All of lore.kernel.org
 help / color / mirror / Atom feed
* - init-versionc-define-version_string-only-if-config_kallsyms-is-not-defined.patch removed from -mm tree
@ 2008-07-25 22:55 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-07-25 22:55 UTC (permalink / raw)
  To: guilak, daniel, randy.dunlap, mm-commits


The patch titled
     init/version.c: define version_string only if CONFIG_KALLSYMS is not defined
has been removed from the -mm tree.  Its filename was
     init-versionc-define-version_string-only-if-config_kallsyms-is-not-defined.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: init/version.c: define version_string only if CONFIG_KALLSYMS is not defined
From: Daniel Guilak <guilak@linux.vnet.ibm.com>

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>
---

 init/version.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN init/version.c~init-versionc-define-version_string-only-if-config_kallsyms-is-not-defined init/version.c
--- a/init/version.c~init-versionc-define-version_string-only-if-config_kallsyms-is-not-defined
+++ a/init/version.c
@@ -13,11 +13,13 @@
 #include <linux/utsrelease.h>
 #include <linux/version.h>
 
+#ifndef CONFIG_KALLSYMS
 #define version(a) Version_ ## a
 #define version_string(a) version(a)
 
 extern int version_string(LINUX_VERSION_CODE);
 int version_string(LINUX_VERSION_CODE);
+#endif
 
 struct uts_namespace init_uts_ns = {
 	.kref = {
_

Patches currently in -mm which might be from guilak@linux.vnet.ibm.com are

origin.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-25 22:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25 22:55 - init-versionc-define-version_string-only-if-config_kallsyms-is-not-defined.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.