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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Harvey Harrison 2009-01-13 19:27:09 -08:00 • committed by Linus Torvalds
commit 74d96f0186
42 changed files with 2 additions and 49 deletions

View file

@ -9,4 +9,3 @@ header-y += sync_serial.h
unifdef-y += etraxgpio.h
unifdef-y += rs485.h
unifdef-y += swab.h

View file

@ -1,7 +1,6 @@
#ifndef _CRIS_BYTEORDER_H
#define _CRIS_BYTEORDER_H
#include <asm/swab.h>
#include <linux/byteorder/little_endian.h>
#endif