[PATCH] PREEMPT_RT vermagic
From: Daniel Walker (dwalker_at_mvista.com)
Date: 08/31/05
- Previous message: brking_at_us.ibm.com: "[PATCH 1/1] block: CFQ refcounting fix"
- In reply to: Ingo Molnar: "2.6.13-rt1"
- Next in thread: Ingo Molnar: "Re: [PATCH] PREEMPT_RT vermagic"
- Reply: Ingo Molnar: "Re: [PATCH] PREEMPT_RT vermagic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Ingo Molnar <mingo@elte.hu> Date: Tue, 30 Aug 2005 15:42:17 -0700
Ingo,
This patch adds a vermagic hook so PREEMPT_RT modules can be
distinguished from PREEMPT_DESKTOP modules.
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Index: linux-2.6.10/include/linux/vermagic.h
===================================================================
--- linux-2.6.10.orig/include/linux/vermagic.h 2004-12-24 21:35:50.000000000 +0000
+++ linux-2.6.10/include/linux/vermagic.h 2005-08-23 17:35:08.000000000 +0000
@@ -8,7 +8,11 @@
#define MODULE_VERMAGIC_SMP ""
#endif
#ifdef CONFIG_PREEMPT
-#define MODULE_VERMAGIC_PREEMPT "preempt "
+# ifdef CONFIG_PREEMPT_RT
+# define MODULE_VERMAGIC_PREEMPT "preempt_rt "
+# else
+# define MODULE_VERMAGIC_PREEMPT "preempt "
+# endif
#else
#define MODULE_VERMAGIC_PREEMPT ""
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: brking_at_us.ibm.com: "[PATCH 1/1] block: CFQ refcounting fix"
- In reply to: Ingo Molnar: "2.6.13-rt1"
- Next in thread: Ingo Molnar: "Re: [PATCH] PREEMPT_RT vermagic"
- Reply: Ingo Molnar: "Re: [PATCH] PREEMPT_RT vermagic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|