[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-rt-users
Subject:    [PATCH] duplicate zap_rt_locks in preempt-realtime-core.patch
From:       Paul Gortmaker <paul.gortmaker () windriver ! com>
Date:       2008-09-11 3:40:47
Message-ID: 20080911034045.GA5729 () windriver ! com
[Download RAW message or body]

Hi Steven,

It looks like patch was over-eager and gave you two copies of
zap_rt_locks() within preempt-realtime-core.patch  -- I've increased
the context so you can see the dup without going to compare against
the original.

Thanks,
Paul.

diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 1f90d41..0931614 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -222,18 +222,12 @@ extern void __attribute__((format(printf, 1, 2)))
 #ifdef CONFIG_PREEMPT_RT
 extern void zap_rt_locks(void);
 #else
 # define zap_rt_locks() do { } while (0)
 #endif
 
-#ifdef CONFIG_PREEMPT_RT
-extern void zap_rt_locks(void);
-#else
-# define zap_rt_locks() do { } while (0)
-#endif
-
 unsigned long int_sqrt(unsigned long);
 
 static inline void console_silent(void)
 {
 	console_loglevel = 0;
 }


--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic