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:
Harvey Harrison 2009-01-13 19:27:09 -08:00 committed by Linus Torvalds
parent aa0effbd1c
commit 74d96f0186
42 changed files with 2 additions and 49 deletions

View file

@ -3,7 +3,7 @@
#include <linux/types.h>
#include <linux/compiler.h>
#include <asm/byteorder.h>
#include <asm/swab.h>
/*
* casts are necessary for constants, because we never know how for sure