From fc5c8fc1c1360f3fe62d02d9bb5796fed81b2352 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Mon, 17 May 2010 14:36:43 -0700 Subject: [PATCH] Add a COMPAT_PROJECT tag This will be used to identify the backport project only during initialization, there is no associated module parameter for this as there is no need for it. Signed-off-by: Luis R. Rodriguez --- Makefile | 1 + compat/main.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 838bf82852e8..46fda21aa298 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,7 @@ NOSTDINC_FLAGS := -I$(M)/include/ \ $(CFLAGS) \ -DCOMPAT_BASE_TREE=\"$(COMPAT_BASE_TREE)\" \ -DCOMPAT_BASE_TREE_VERSION=\"$(COMPAT_BASE_TREE_VERSION)\" \ + -DCOMPAT_PROJECT="\"Generic kernel\"" \ -DCOMPAT_VERSION=\"$(COMPAT_VERSION)\" modules: diff --git a/compat/main.c b/compat/main.c index ef18516b234e..a1a48d01a73d 100644 --- a/compat/main.c +++ b/compat/main.c @@ -37,7 +37,8 @@ static int __init compat_init(void) /* pm-qos for kernels <= 2.6.24, this is a no-op on newer kernels */ compat_pm_qos_power_init(); - printk(KERN_INFO "Kernel backport release: " + printk(KERN_INFO + COMPAT_PROJECT " backport release: " COMPAT_VERSION "\n"); printk(KERN_INFO "Backport based on " -- 2.30.2