Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fbmem: fix fb_read, fb_write unaligned accesses | James Hogan | 2010-10-27 | 1 | -0/+31 |
| | | | | | | | | | | | | | | | | | | | fb_{read,write} access the framebuffer using lots of fb_{read,write}l's but don't check that the file position is aligned which can cause problems on some architectures which do not support unaligned accesses. Since the operations are essentially memcpy_{from,to}io, new fb_memcpy_{from,to}fb macros have been defined and these are used instead. For Sparc, fb_{read,write} macros use sbus_{read,write}, so this defines new sbus_memcpy_{from,to}io functions the same as memcpy_{from,to}io but using sbus_{read,write}b instead of {read,write}b. Signed-off-by: James Hogan <james@albanarts.com> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | ||||
* | sparc: Provide io{read,write}{16,32}be(). | David S. Miller | 2010-03-03 | 1 | -0/+4 |
| | | | | Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | sparc: Kill sbus_ioremap() and sbus_iounmap(). | David S. Miller | 2008-08-29 | 1 | -13/+0 |
| | | | | | | No more users. Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | sparc: Move SBUS DMA attribute interfaces out of asm/sbus.h | David S. Miller | 2008-08-29 | 1 | -0/+11 |
| | | | | | | | | | This is in preparation for the subsequent asm/sbus.h removal. Also, make these routines take a "struct device" or no arguments, as appropriate. Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | sparc, sparc64: use arch/sparc/include | Sam Ravnborg | 2008-07-27 | 1 | -0/+511 |
The majority of this patch was created by the following script: *** ASM=arch/sparc/include/asm mkdir -p $ASM git mv include/asm-sparc64/ftrace.h $ASM git rm include/asm-sparc64/* git mv include/asm-sparc/* $ASM sed -ie 's/asm-sparc64/asm/g' $ASM/* sed -ie 's/asm-sparc/asm/g' $ASM/* *** The rest was an update of the top-level Makefile to use sparc for header files when sparc64 is being build. And a small fixlet to pick up the correct unistd.h from sparc64 code. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> |