diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-13 06:21:15 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-13 06:21:15 +0400 |
commit | b6897130f0ac8ac33043be736770eb5f58164044 (patch) | |
tree | c922f449e0ba26e225795684f2ef46954406c7c0 /arch/powerpc/include/uapi/asm/swab.h | |
parent | b4fe19f78e84813e720d0f0482da22194a7728e3 (diff) | |
parent | fd3bc66f1dd5d062b5f0a7afc90c69d8da5b42db (diff) | |
download | linux-b6897130f0ac8ac33043be736770eb5f58164044.tar.xz |
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
Pull powerpc uapi disintegration from Benjamin Herrenschmidt.
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
Diffstat (limited to 'arch/powerpc/include/uapi/asm/swab.h')
-rw-r--r-- | arch/powerpc/include/uapi/asm/swab.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/swab.h b/arch/powerpc/include/uapi/asm/swab.h new file mode 100644 index 000000000000..b6c368aa5c05 --- /dev/null +++ b/arch/powerpc/include/uapi/asm/swab.h @@ -0,0 +1,23 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ +#ifndef _UAPI_ASM_POWERPC_SWAB_H +#define _UAPI_ASM_POWERPC_SWAB_H + + +#include <linux/types.h> +#include <linux/compiler.h> + +#ifdef __GNUC__ + +#ifndef __powerpc64__ +#define __SWAB_64_THRU_32__ +#endif /* __powerpc64__ */ + + +#endif /* __GNUC__ */ + +#endif /* _UAPI_ASM_POWERPC_SWAB_H */ |