aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/swab.h
Commit message (Collapse)AuthorAge
* MIPS: Define __arch_swab64 for all mips r2 cpusDavid Daney2009-07-03
| | | | | | | | | | | Some CPUs implement mipsr2, but because they are a super-set of mips64r2 do not define CONFIG_CPU_MIPS64_R2. Cavium OCTEON falls into this category. We would still like to use the optimized implementation, so since we have already checked for CONFIG_CPU_MIPSR2, checking for CONFIG_64BIT instead of CONFIG_CPU_MIPS64_R2 is sufficient. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* headers_check fix: mips, swab.hJaswinder Singh Rajput2009-02-01
| | | | | | | | | fix the following 'make headers_check' warnings: usr/include/asm-mips/swab.h:12: include of <linux/types.h> is preferred over <asm/types.h> usr/include/asm-mips/swab.h:18: found __[us]{8,16,32,64} type without #include <linux/types.h> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
* mips: introduce asm/swab.hHarvey Harrison2009-01-06
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>