]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.arch/x86-mce-use-round_jiffies-instead-round_jiffies_relative
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.arch / x86-mce-use-round_jiffies-instead-round_jiffies_relative
diff --git a/src/patches/suse-2.6.27.31/patches.arch/x86-mce-use-round_jiffies-instead-round_jiffies_relative b/src/patches/suse-2.6.27.31/patches.arch/x86-mce-use-round_jiffies-instead-round_jiffies_relative
deleted file mode 100644 (file)
index 9f8480c..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
-Date: Wed, 11 Mar 2009 01:14:26 +0000 (+0900)
-Subject: x86, mce: use round_jiffies() instead round_jiffies_relative()
-Patch-mainline: 2.6.30-rc3
-Git-commit: 5490fa96735ce0e2af270c0868987d644b9a38ec
-References: bnc#507557
-
-x86, mce: use round_jiffies() instead round_jiffies_relative()
-
-Impact: saving power _very_ little
-
-round_jiffies() round up absolute jiffies to full second.
-round_jiffies_relative() round up relative jiffies to full second.
-
-The "t->expires" is absolute jiffies. Then, round_jiffies() should be
-used instead round_jiffies_relative().
-
-Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
-Cc: Andi Kleen <andi@firstfloor.org>
-Cc: H. Peter Anvin <hpa@linux.intel.com>
-Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-Acked-by: Jeff Mahoney <jeffm@suse.com>
-
----
- arch/x86/kernel/cpu/mcheck/mce_64.c |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/arch/x86/kernel/cpu/mcheck/mce_64.c
-+++ b/arch/x86/kernel/cpu/mcheck/mce_64.c
-@@ -509,7 +509,7 @@ static void mce_init_timer(void)
-       if (!next_interval)
-               return;
-       setup_timer(t, mcheck_timer, smp_processor_id());
--      t->expires = round_jiffies_relative(jiffies + next_interval);
-+      t->expires = round_jiffies(jiffies + next_interval);
-       add_timer(t);
- }
-@@ -912,7 +912,7 @@ static int __cpuinit mce_cpu_callback(st
-               break;
-       case CPU_DOWN_FAILED:
-       case CPU_DOWN_FAILED_FROZEN:
--              t->expires = round_jiffies_relative(jiffies + next_interval);
-+              t->expires = round_jiffies(jiffies + next_interval);
-               add_timer_on(t, cpu);
-               break;
-       }