Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74d96f01 authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds
Browse files

byteorder: make swab.h include asm/swab.h like a regular header



Add swab.h to kbuild.asm and remove the individual entries from
each arch, mark as unifdef as some arches have some kernel-only
bits inside.

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent aa0effbd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -9,4 +9,3 @@ unifdef-y += console.h
unifdef-y += fpu.h
unifdef-y += sysinfo.h
unifdef-y += compiler.h
unifdef-y += swab.h
+0 −1
Original line number Diff line number Diff line
#ifndef _ALPHA_BYTEORDER_H
#define _ALPHA_BYTEORDER_H

#include <asm/swab.h>
#include <linux/byteorder/little_endian.h>

#endif /* _ALPHA_BYTEORDER_H */
+0 −1
Original line number Diff line number Diff line
include include/asm-generic/Kbuild.asm

unifdef-y += hwcap.h
unifdef-y += swab.h
+0 −2
Original line number Diff line number Diff line
@@ -15,8 +15,6 @@
#ifndef __ASM_ARM_BYTEORDER_H
#define __ASM_ARM_BYTEORDER_H

#include <asm/swab.h>

#ifdef __ARMEB__
#include <linux/byteorder/big_endian.h>
#else
+0 −1
Original line number Diff line number Diff line
include include/asm-generic/Kbuild.asm

header-y	+= swab.h
header-y	+= cachectl.h
Loading