lkml.org 
[lkml]   [2006]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] fix hrtimer percpu usage typo
From
Date
On Mon, 2006-08-07 at 15:07 +0200, Jan Blunck wrote:

Can you please inline patches ?

Acked-by: Thomas Gleixner <tglx@linutronix.de>


> From: Jan Blunck <jblunck@suse.de>
> Subject: fix hrtimer percpu usage
>
> The percpu variable is used incorrectly in switch_hrtimer_base().
>
> Signed-off-by: Jan Blunck <jblunck@suse.de>
> ---
> kernel/hrtimer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6/kernel/hrtimer.c
> ===================================================================
> --- linux-2.6.orig/kernel/hrtimer.c
> +++ linux-2.6/kernel/hrtimer.c
> @@ -187,7 +187,7 @@ switch_hrtimer_base(struct hrtimer *time
> {
> struct hrtimer_base *new_base;
>
> - new_base = &__get_cpu_var(hrtimer_bases[base->index]);
> + new_base = &__get_cpu_var(hrtimer_bases)[base->index];
>
> if (base != new_base) {
> /*
>

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

\
 
 \ /
  Last update: 2006-08-08 22:37    [W:0.038 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site