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

@ -1,4 +1,3 @@
include include/asm-generic/Kbuild.asm
unifdef-y += pdc.h
unifdef-y += swab.h

View file

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