[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAONaPpEFOrYFH9=HX+QUweGKqxXw2GUmj9+BAzwmxFtyJX=p+w@mail.gmail.com>
Date: Tue, 13 Mar 2012 14:32:42 +0100
From: John Kacur <jkacur@...hat.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
RT <linux-rt-users@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Clark Williams <clark@...hat.com>
Subject: Re: [PATCH RT] preempt: Define preempt_check_resched_rt() for non
PREEMPT config
On Tue, Mar 13, 2012 at 3:50 AM, Steven Rostedt <rostedt@...dmis.org> wrote:
>
> Fix compiler error when CONFIG_PREEMPT is not set.
>
> Signed-off-by: Steven Rostedt <rostedt@...dmis.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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists