The patch titled
     Use correct macros in raid code, not raw asm
has been removed from the -mm tree.  Its filename was
     use-correct-macros-in-raid-code-not-raw-asm.patch

This patch was dropped because an updated version will be merged

------------------------------------------------------
Subject: Use correct macros in raid code, not raw asm
From: Rusty Russell <[EMAIL PROTECTED]>

This make sure it's paravirtualized correctly when CONFIG_PARAVIRT=y.

Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Cc: Ingo Molnar <[EMAIL PROTECTED]>
Cc: Neil Brown <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/md/raid6x86.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff -puN drivers/md/raid6x86.h~use-correct-macros-in-raid-code-not-raw-asm 
drivers/md/raid6x86.h
--- a/drivers/md/raid6x86.h~use-correct-macros-in-raid-code-not-raw-asm
+++ a/drivers/md/raid6x86.h
@@ -21,6 +21,8 @@
 
 #if defined(__i386__) || defined(__x86_64__)
 
+#include <asm/system.h>
+
 #ifdef __x86_64__
 
 typedef struct {
@@ -75,13 +77,14 @@ static inline unsigned long raid6_get_fp
        unsigned long cr0;
 
        preempt_disable();
-       asm volatile("mov %%cr0,%0 ; clts" : "=r" (cr0));
+       cr0 = read_cr0();
+       clts();
        return cr0;
 }
 
 static inline void raid6_put_fpu(unsigned long cr0)
 {
-       asm volatile("mov %0,%%cr0" : : "r" (cr0));
+       write_cr0(cr0);
        preempt_enable();
 }
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

use-correct-macros-in-raid-code-not-raw-asm.patch
vmi-versus-hrtimers.patch
hotplug-allow-modules-to-use-the-cpu-hotplug-notifiers.patch

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

Reply via email to