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: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
aa0effbd1c
commit
74d96f0186
@@ -1,8 +1,6 @@
|
||||
#ifndef __ASM_SH_BYTEORDER_H
|
||||
#define __ASM_SH_BYTEORDER_H
|
||||
|
||||
#include <asm/swab.h>
|
||||
|
||||
#ifdef __LITTLE_ENDIAN__
|
||||
#include <linux/byteorder/little_endian.h>
|
||||
#else
|
||||
|
Reference in New Issue
Block a user