public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Jan Blunck <jblunck@suse.de>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix hrtimer percpu usage typo
Date: Tue, 08 Aug 2006 22:37:10 +0200	[thread overview]
Message-ID: <1155069430.5192.49.camel@localhost.localdomain> (raw)
In-Reply-To: <20060807130729.GT4995@hasse.suse.de>

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) {
>                 /*
> 


      reply	other threads:[~2006-08-08 20:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-07 13:07 [PATCH] fix hrtimer percpu usage typo Jan Blunck
2006-08-08 20:37 ` Thomas Gleixner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1155069430.5192.49.camel@localhost.localdomain \
    --to=tglx@linutronix.de \
    --cc=akpm@osdl.org \
    --cc=jblunck@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox