James Hogan
f11b478d46
fbmem: fix fb_read, fb_write unaligned accesses
...
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>
2010-10-27 18:03:08 -07:00
..
2009-08-03 09:05:00 +01:00
2009-08-17 18:32:09 -07:00
2009-12-12 13:08:14 +01:00
2008-12-09 00:50:13 -08:00
2010-05-17 07:57:27 -07:00
2010-08-17 21:44:13 -07:00
2010-08-18 22:53:26 -07:00
2008-12-03 16:04:52 -08:00
2010-04-06 15:52:11 -07:00
2009-06-11 21:02:14 +02:00
2009-11-27 17:33:43 -08:00
2009-01-14 19:56:50 -08:00
2010-06-29 00:38:02 -07:00
2009-11-26 09:16:19 +01:00
2009-11-26 09:16:19 +01:00
2010-09-14 16:08:45 -07:00
2010-04-12 22:37:07 -07:00
2010-07-24 09:57:52 -06:00
2010-08-11 08:59:21 -07:00
2009-12-16 07:20:12 -08:00
2010-01-29 08:22:01 -08:00
2009-06-07 05:01:00 -07:00
2010-08-16 12:26:09 -07:00
2010-02-05 12:22:42 +01:00
2009-12-17 11:03:24 -05:00
2010-10-09 02:33:34 -06:00
2010-07-24 09:58:21 -06:00
2009-06-16 04:56:53 -07:00
2009-10-01 13:45:13 -07:00
2010-10-26 16:52:08 -07:00
2008-12-04 09:17:09 -08:00
2010-10-27 18:03:08 -07:00
2010-10-27 18:03:08 -07:00
2010-08-10 13:47:39 -07:00
2008-09-10 23:07:41 -07:00
2009-01-04 15:44:52 -08:00
2009-10-01 13:45:13 -07:00
2009-08-03 09:56:52 +02:00
2010-10-07 14:08:55 +01:00
2010-10-07 14:08:55 +01:00
2009-01-02 21:31:13 -08:00
2010-09-22 16:35:09 -04:00
2010-10-08 13:04:00 -06:00
2008-11-01 21:44:01 -07:00
2009-01-30 00:03:53 -08:00
2009-06-16 19:47:51 -07:00
2009-08-17 18:32:09 -07:00
2009-11-16 02:54:09 -08:00
2010-06-09 11:12:36 +02:00
2009-08-17 18:32:10 -07:00
2009-06-16 04:56:21 -07:00
2010-08-05 12:56:07 +10:00
2009-09-22 07:17:41 -07:00
2009-03-16 14:40:39 +10:30
2009-03-19 12:51:25 +01:00
2008-12-26 15:35:41 -08:00
2009-09-10 06:28:20 -07:00
2010-10-09 02:33:34 -06:00
2010-10-09 02:33:34 -06:00
2010-10-09 02:33:34 -06:00
2010-01-14 03:14:53 -08:00
2009-06-11 21:02:17 +02:00
2010-01-12 02:46:16 -08:00
2010-08-08 22:07:22 -07:00
2010-03-12 15:52:41 -08:00
2010-03-12 15:52:41 -08:00
2010-03-12 15:52:42 -08:00
2009-01-30 00:03:53 -08:00
2009-06-16 04:56:23 -07:00
2010-10-18 19:58:50 +02:00
2010-03-03 08:08:49 -08:00
2009-07-27 12:10:38 -07:00
2010-10-26 16:52:08 -07:00
2010-10-26 16:52:08 -07:00
2009-08-17 18:32:10 -07:00
2009-03-18 23:51:57 -07:00
2009-01-02 18:35:29 -08:00
2009-01-02 19:32:59 -08:00
2008-11-02 00:15:38 -07:00
2010-10-10 21:53:30 -06:00
2009-01-02 19:42:12 -08:00
2010-08-17 22:49:26 -07:00
2010-08-07 18:15:50 +02:00
2009-03-02 15:41:30 -08:00
2008-12-27 00:35:12 -08:00
2008-10-13 09:51:40 -07:00
2009-01-02 19:34:46 -08:00
2009-01-02 21:10:04 -08:00
2009-06-11 21:01:52 +02:00
2009-11-02 04:19:42 -08:00
2009-09-24 09:34:47 +09:30
2009-10-12 13:26:31 -07:00
2009-12-14 23:55:32 +01:00
2009-12-14 23:55:32 +01:00
2009-12-14 23:55:32 +01:00
2008-12-07 00:04:30 -08:00
2010-03-27 08:36:18 -07:00
2009-12-10 23:32:10 -08:00
2009-12-10 23:32:10 -08:00
2009-01-06 18:10:27 -08:00
2010-02-17 13:07:21 +01:00
2009-08-17 18:32:10 -07:00
2010-08-19 14:15:32 -07:00
2010-08-10 13:47:39 -07:00
2010-05-14 11:13:27 +02:00
2010-05-14 11:13:27 +02:00
2008-09-19 21:18:03 -07:00
2009-01-06 13:19:28 -08:00
2010-01-15 01:34:28 -08:00
2009-07-27 12:10:38 -07:00
2010-01-20 19:04:42 -08:00
2009-06-16 04:56:11 -07:00
2009-01-02 21:33:05 -08:00
2008-12-04 09:16:47 -08:00
2008-12-04 09:17:03 -08:00
2009-08-16 18:25:00 -07:00
2010-08-09 00:45:46 -07:00
2010-08-09 00:45:46 -07:00
2010-08-16 15:04:29 -07:00
2009-09-23 07:39:29 -07:00
2008-09-11 23:46:40 -07:00