sh: Tidy up duplication in irq/swab/timex.h.
The asm-generic versions have some helper definitions that we can use instead, drop our definitions and use those instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
6f2ea72975
commit
f8f06bc74b
3 changed files with 3 additions and 9 deletions
|
@ -7,8 +7,7 @@
|
|||
*/
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#define __SWAB_64_THRU_32__
|
||||
#include <asm-generic/swab.h>
|
||||
|
||||
static inline __attribute_const__ __u32 __arch_swab32(__u32 x)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue