diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-21 19:49:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-21 19:49:34 -0400 |
commit | 28c10af712d875f85c3b8f70aa7a47b77be0f27d (patch) | |
tree | fe0ff061faae2f941f33b8adbb2bf9bf241ed4d4 /include/asm-sparc | |
parent | 74988bd85d1cb97987534fd7ffbc570e81145418 (diff) |
ide: <asm-sparc/ide_64.h>: use %r0 for outw_be()
Use %r0 for outw_be() to make it match __raw_writew().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/ide_64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc/ide_64.h b/include/asm-sparc/ide_64.h index 1282676da1cd..27921ccb3a1f 100644 --- a/include/asm-sparc/ide_64.h +++ b/include/asm-sparc/ide_64.h | |||
@@ -78,9 +78,9 @@ static inline void __ide_insw(void __iomem *port, void *dst, u32 count) | |||
78 | 78 | ||
79 | static inline void outw_be(unsigned short w, void __iomem *addr) | 79 | static inline void outw_be(unsigned short w, void __iomem *addr) |
80 | { | 80 | { |
81 | __asm__ __volatile__("stha %0, [%1] %2" | 81 | __asm__ __volatile__("stha %r0, [%1] %2" |
82 | : /* no outputs */ | 82 | : /* no outputs */ |
83 | : "r" (w), "r" (addr), "i" (ASI_PHYS_BYPASS_EC_E)); | 83 | : "Jr" (w), "r" (addr), "i" (ASI_PHYS_BYPASS_EC_E)); |
84 | } | 84 | } |
85 | 85 | ||
86 | static inline void __ide_outsw(void __iomem *port, void *src, u32 count) | 86 | static inline void __ide_outsw(void __iomem *port, void *src, u32 count) |