• A
    UAPI: include <asm/byteorder.h> in linux/raid/md_p.h · c0f8bd14
    Aurelien Jarno 提交于
    linux/raid/md_p.h is using conditionals depending on endianess and fails
    with an error if neither of __BIG_ENDIAN, __LITTLE_ENDIAN or
    __BYTE_ORDER are defined, but it doesn't include any header which can
    define these constants. This make this header unusable alone.
    
    This patch adds a #include <asm/byteorder.h> at the beginning of this
    header to make it usable alone. This is needed to compile klibc on MIPS.
    Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
    Signed-off-by: NNeilBrown <neilb@suse.de>
    c0f8bd14
md_p.h 11.4 KB