* [parisc-linux] Is this system_irqsave diff is correct?
@ 2002-12-15 13:09 Joel Soete
2002-12-16 23:47 ` Grant Grundler
0 siblings, 1 reply; 2+ messages in thread
From: Joel Soete @ 2002-12-15 13:09 UTC (permalink / raw)
To: parisc-linux
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
Hi all,
is this diff is right:
--- system_irqsave.h.orig 2002-12-15 13:02:50.000000000 +0000
+++ system_irqsave.h 2002-12-15 13:03:29.000000000 +0000
@@ -9,8 +9,7 @@
#define local_irq_save(x) \
__asm__ __volatile__("rsm %1,%0" : "=r" (x) :"i" (PSW_I) :
"memory" )
-#define local_irq_restore(x) \
- __asm__ __volatile__("mtsm %0" : : "r" (x) : "memory" )
+#define local_irq_restore(x) __restore_flags(x)
#define local_irq_disable() __cli()
#define local_irq_enable() __sti()
Thanks for attention,
Joel
[-- Attachment #2: system_irqsave.h.diff --]
[-- Type: text/plain, Size: 453 bytes --]
--- system_irqsave.h.orig 2002-12-15 13:02:50.000000000 +0000
+++ system_irqsave.h 2002-12-15 13:03:29.000000000 +0000
@@ -9,8 +9,7 @@
#define local_irq_save(x) \
__asm__ __volatile__("rsm %1,%0" : "=r" (x) :"i" (PSW_I) : "memory" )
-#define local_irq_restore(x) \
- __asm__ __volatile__("mtsm %0" : : "r" (x) : "memory" )
+#define local_irq_restore(x) __restore_flags(x)
#define local_irq_disable() __cli()
#define local_irq_enable() __sti()
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-16 23:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-15 13:09 [parisc-linux] Is this system_irqsave diff is correct? Joel Soete
2002-12-16 23:47 ` Grant Grundler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.