+ fix-hrtimer-percpu-usage-typo.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     fix hrtimer percpu usage typo

has been added to the -mm tree.  Its filename is

     fix-hrtimer-percpu-usage-typo.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: fix hrtimer percpu usage typo
From: Jan Blunck <jblunck@xxxxxxx>

The percpu variable is used incorrectly in switch_hrtimer_base().

Signed-off-by: Jan Blunck <jblunck@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---


diff -puN kernel/hrtimer.c~fix-hrtimer-percpu-usage-typo kernel/hrtimer.c
--- a/kernel/hrtimer.c~fix-hrtimer-percpu-usage-typo
+++ a/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) {
 		/*
_

Patches currently in -mm which might be from jblunck@xxxxxxx are

fix-hrtimer-percpu-usage-typo.patch
trigger-a-syntax-error-if-percpu-macros-are-incorrectly-used.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux