diff options
author | Michal Simek <monstr@monstr.eu> | 2009-03-27 14:25:36 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-03-27 14:25:36 +0100 |
commit | 10713b1d9f4e64468e9b9d38c32eea0814568b92 (patch) | |
tree | 215d09a2ec25629a47d31e4b71db042c8ef941ff /arch/microblaze/include/asm/swab.h | |
parent | 4dbdc9a59656d9166f9baaf8733b73e2ad0c8fa5 (diff) | |
download | talos-obmc-linux-10713b1d9f4e64468e9b9d38c32eea0814568b92.tar.gz talos-obmc-linux-10713b1d9f4e64468e9b9d38c32eea0814568b92.zip |
microblaze_v8: atomic.h bitops.h swab.h byteorder.h
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Acked-by: John Linn <john.linn@xilinx.com>
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/swab.h')
-rw-r--r-- | arch/microblaze/include/asm/swab.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/swab.h b/arch/microblaze/include/asm/swab.h new file mode 100644 index 000000000000..b375d7b65ad7 --- /dev/null +++ b/arch/microblaze/include/asm/swab.h @@ -0,0 +1,8 @@ +#ifndef _ASM_MICROBLAZE_SWAB_H +#define _ASM_MICROBLAZE_SWAB_H + +#if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__) +#define __SWAB_64_THRU_32__ +#endif + +#endif /* _ASM_MICROBLAZE_SWAB_H */ |