Use the header file in tools/include instead of duplicating the endian
functions.
Cc: Davidlohr Bueso
Acked-by: Greg Kroah-Hartman
Signed-off-by: Matt Fleming
Link: http://lkml.kernel.org/r/1330436245-24875-7-git-send-email-matt@console-pimps.org
Signed-off-by: H. Peter Anvin