linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] duplicate zap_rt_locks in preempt-realtime-core.patch
@ 2008-09-11  3:40 Paul Gortmaker
  0 siblings, 0 replies; only message in thread
From: Paul Gortmaker @ 2008-09-11  3:40 UTC (permalink / raw)
  To: rostedt; +Cc: linux-rt-users

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

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

only message in thread, other threads:[~2008-09-11  3:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11  3:40 [PATCH] duplicate zap_rt_locks in preempt-realtime-core.patch Paul Gortmaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).