include/linux/byteorder: Always defines __fswab64, __swab64p and __swab64s
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Wed, 14 Nov 2012 21:35:26 +0000 (21:35 +0000)
committerTom Rini <trini@ti.com>
Fri, 30 Nov 2012 14:15:04 +0000 (07:15 -0700)
commitf3269ad4e8faa4e9803245dd13ef0dc83f0339fc
treeec1ba9878c2e658acea9872c1ddcea23cf6d1c16
parentb8715d8def240014da5614a4f940130ec06d9ebf
include/linux/byteorder: Always defines __fswab64, __swab64p and __swab64s

When __BYTEORDER_HAS_U64__ is not defined, we got warning following:

-----
/tmp/include/linux/byteorder/little_endian.h: In function ā€˜__cpu_to_be64pā€™:
/tmp/include/linux/byteorder/little_endian.h:71:2: warning: implicit declaration of function ā€˜__swab64pā€™
[-Wimplicit-function-declaration]
-----

Usually, __arch__swab64* required for __fswab64,  __swab64p and __swab64s
is defined.  Therefore, __BYTEORDER_HAS_U64__ is unnecessary.
This removes __BYTEORDER_HAS_U64__.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Kim Phillips <kim.phillips@freescale.com>
Reviewed-by: Kim Phillips <kim.phillips@freescale.com>
include/linux/byteorder/swab.h