[PATCH] PREEMPT_RT vermagic

From: Daniel Walker (dwalker_at_mvista.com)
Date: 08/31/05

  • Next message: Henrik Persson: "Re: Linux 2.6.13"
    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/


  • Next message: Henrik Persson: "Re: Linux 2.6.13"

    Relevant Pages