Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e9f668dd12d3ed293af0d466bcaa393b78a7d0ee
Commit:     e9f668dd12d3ed293af0d466bcaa393b78a7d0ee
Parent:     fbd8af07063f7379e71654013e7915315cd869f8
Author:     Kumar Gala <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 15 10:43:19 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:05:07 2007 -0300

    V4L/DVB (6010): Use inline functions instead of inline asm for powerpc
    
    Change io_st_le32() to use inline functions rather than
    direct inline assembly code.
    
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/bt8xx/bt878.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/media/dvb/bt8xx/bt878.h b/drivers/media/dvb/bt8xx/bt878.h
index 1c8e336..d593bc1 100644
--- a/drivers/media/dvb/bt8xx/bt878.h
+++ b/drivers/media/dvb/bt8xx/bt878.h
@@ -151,9 +151,8 @@ void bt878_stop(struct bt878 *bt);
 #if defined(__powerpc__)       /* big-endian */
 static inline void io_st_le32(volatile unsigned __iomem *addr, unsigned val)
 {
-       __asm__ __volatile__("stwbrx %1,0,%2":"=m"(*addr):"r"(val),
-                            "r"(addr));
-       __asm__ __volatile__("eieio":::"memory");
+       st_le32(addr, val);
+       eieio();
 }
 
 #define bmtwrite(dat,adr)  io_st_le32((adr),(dat))
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to