* [PATCH] fix hrtimer percpu usage typo
@ 2006-08-07 13:07 Jan Blunck
2006-08-08 20:37 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Jan Blunck @ 2006-08-07 13:07 UTC (permalink / raw)
To: Andrew Morton; +Cc: Thomas Gleixner, linux-kernel
[-- Attachment #1: percpu-hrtimer-fix.diff --]
[-- Type: text/x-patch, Size: 677 bytes --]
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) {
/*
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix hrtimer percpu usage typo
2006-08-07 13:07 [PATCH] fix hrtimer percpu usage typo Jan Blunck
@ 2006-08-08 20:37 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2006-08-08 20:37 UTC (permalink / raw)
To: Jan Blunck; +Cc: Andrew Morton, linux-kernel
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) {
> /*
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-08 20:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-07 13:07 [PATCH] fix hrtimer percpu usage typo Jan Blunck
2006-08-08 20:37 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox