David Gibson
f571872671
powerpc: Move Power Macintosh drivers to generic byteswappers
...
ppc has special instruction forms to efficiently load and store values
in non-native endianness. These can be accessed via the arch-specific
{ld,st}_le{16,32}() inlines in arch/powerpc/include/asm/swab.h.
However, gcc is perfectly capable of generating the byte-reversing
load/store instructions when using the normal, generic cpu_to_le*() and
le*_to_cpu() functions eaning the arch-specific functions don't have much
point.
Worse the "le" in the names of the arch specific functions is now
misleading, because they always generate byte-reversing forms, but some
ppc machines can now run a little-endian kernel.
To start getting rid of the arch-specific forms, this patch removes them
from all the old Power Macintosh drivers, replacing them with the
generic byteswappers.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2015-03-23 14:29:40 +11:00
..
2013-01-03 15:57:03 -08:00
2012-10-06 03:04:41 +09:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2014-10-15 14:27:38 -04:00
2014-10-20 16:20:38 +02:00
2013-11-26 11:09:07 +01:00
2013-01-03 15:57:03 -08:00
2012-10-06 03:04:41 +09:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-11-14 18:21:25 -05:00
2013-01-03 15:57:03 -08:00
2013-07-10 12:09:10 -07:00
2012-10-06 03:04:41 +09:00
2009-06-15 18:52:58 +02:00
2014-10-20 16:20:38 +02:00
2013-01-03 15:57:03 -08:00
2012-10-06 03:04:41 +09:00
2013-01-03 15:57:03 -08:00
2014-10-20 16:20:38 +02:00
2012-01-13 09:32:20 +10:30
2013-12-07 01:05:50 +01:00
2011-10-31 19:31:37 -04:00
2011-04-21 19:43:59 +02:00
2014-01-28 23:35:09 -08:00
2013-07-03 16:07:41 -07:00
2011-03-09 19:54:27 +01:00
2012-06-12 15:51:41 -07:00
2010-03-30 22:02:32 +09:00
2010-10-05 15:01:10 +02:00
2013-04-09 14:13:32 -04:00
2014-10-04 10:55:32 -06:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2012-01-14 15:07:24 -08:00
2013-04-09 14:13:32 -04:00
2014-12-12 15:26:31 -05:00
2013-07-03 16:07:41 -07:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2011-10-31 19:31:37 -04:00
2011-04-05 23:52:49 +02:00
2013-09-05 15:21:29 -04:00
2010-01-19 01:41:57 -08:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2014-08-28 10:03:46 -06:00
2013-01-03 15:57:03 -08:00
2014-01-28 23:35:09 -08:00
2012-08-21 14:54:42 -07:00
2011-10-31 19:31:37 -04:00
2014-03-04 15:58:31 -05:00
2013-04-09 14:13:32 -04:00
2011-05-16 14:24:46 -07:00
2013-10-16 18:40:57 -07:00
2013-07-03 16:07:41 -07:00
2013-07-10 12:09:10 -07:00
2010-01-19 11:30:09 -08:00
2011-10-31 19:31:37 -04:00
2014-12-12 15:26:31 -05:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2014-03-17 15:57:28 -04:00
2011-10-31 19:31:37 -04:00
2013-09-16 18:19:04 -07:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2014-10-20 16:20:38 +02:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2015-03-23 14:29:40 +11:00
2011-10-31 19:31:37 -04:00
2012-10-06 03:04:41 +09:00
2009-06-15 22:13:44 +02:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2011-10-31 19:31:37 -04:00
2013-09-05 15:21:30 -04:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2014-10-20 16:20:38 +02:00
2014-10-20 16:20:38 +02:00
2012-10-06 03:04:41 +09:00
2013-01-03 15:57:03 -08:00