public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RT] preempt: Define preempt_check_resched_rt() for non PREEMPT config
@ 2012-03-13  2:50 Steven Rostedt
  2012-03-13 13:32 ` John Kacur
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Rostedt @ 2012-03-13  2:50 UTC (permalink / raw)
  To: LKML, RT; +Cc: Thomas Gleixner, Clark Williams

Fix compiler error when CONFIG_PREEMPT is not set.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

diff --git a/include/linux/preempt.h b/include/linux/preempt.h
index 4125456..11412d7 100644
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
@@ -95,6 +95,7 @@ do { \
 #define preempt_enable_no_resched()	do { } while (0)
 #define preempt_enable()		do { } while (0)
 #define preempt_check_resched()		do { } while (0)
+#define preempt_check_resched_rt()	do { } while (0)
 
 #define preempt_disable_notrace()		do { } while (0)
 #define preempt_enable_no_resched_notrace()	do { } while (0)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH RT] preempt: Define preempt_check_resched_rt() for non PREEMPT config
  2012-03-13  2:50 [PATCH RT] preempt: Define preempt_check_resched_rt() for non PREEMPT config Steven Rostedt
@ 2012-03-13 13:32 ` John Kacur
  2012-03-13 18:13   ` Steven Rostedt
  0 siblings, 1 reply; 3+ messages in thread
From: John Kacur @ 2012-03-13 13:32 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: LKML, RT, Thomas Gleixner, Clark Williams

On Tue, Mar 13, 2012 at 3:50 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
>
> Fix compiler error when CONFIG_PREEMPT is not set.
>
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
>
> diff --git a/include/linux/preempt.h b/include/linux/preempt.h
> index 4125456..11412d7 100644
> --- a/include/linux/preempt.h
> +++ b/include/linux/preempt.h
> @@ -95,6 +95,7 @@ do { \
>  #define preempt_enable_no_resched()    do { } while (0)
>  #define preempt_enable()               do { } while (0)
>  #define preempt_check_resched()                do { } while (0)
> +#define preempt_check_resched_rt()     do { } while (0)
>
>  #define preempt_disable_notrace()              do { } while (0)
>  #define preempt_enable_no_resched_notrace()    do { } while (0)
>

This is the same patch I sent for v3.2.9-rt17. (where you complained
because I gave clark a SOB instead of a Tested-by:) I see that
#define preempt_check_resched()
without the _rt has been shuffled to a more logical spot which is the
only way I recognized that you mean this for v3.0.23-rt.

Could we please start to specify the rt-kernel version in these patches?

Thanks

John
--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH RT] preempt: Define preempt_check_resched_rt() for non PREEMPT config
  2012-03-13 13:32 ` John Kacur
@ 2012-03-13 18:13   ` Steven Rostedt
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2012-03-13 18:13 UTC (permalink / raw)
  To: John Kacur; +Cc: LKML, RT, Thomas Gleixner, Clark Williams

On Tue, 2012-03-13 at 14:32 +0100, John Kacur wrote:

> This is the same patch I sent for v3.2.9-rt17. (where you complained
> because I gave clark a SOB instead of a Tested-by:) I see that
> #define preempt_check_resched()
> without the _rt has been shuffled to a more logical spot which is the
> only way I recognized that you mean this for v3.0.23-rt.

Actually it should be for 3.2-rt, my mistake to have done it against
3.0-rt, as the only person with the bug in 3.0-rt is me (It failed my
initial tests).

> 
> Could we please start to specify the rt-kernel version in these patches?

The fix was for Thomas.

-- Steve

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-13 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13  2:50 [PATCH RT] preempt: Define preempt_check_resched_rt() for non PREEMPT config Steven Rostedt
2012-03-13 13:32 ` John Kacur
2012-03-13 18:13   ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox