Subject: [PATCH 05/33] score: create head files atomic.h auxvec.h bitops.h bitsperlong.h byteorder.h div64.h elf.h
From e54bfb560857f537d13bdb68179e4aca883a8076 Mon Sep 17 00:00:00 2001
From: Chen Liqin <[email protected]>
Date: Wed, 26 Aug 2009 10:04:57 +0800
Subject: [PATCH 05/33] score: create head files atomic.h auxvec.h bitops.h bitsperlong.h byteorder.h div64.h elf.h
Signed-off-by Chen Liqin <[email protected]>
--- arch/score/include/asm/atomic.h | 6 ++ arch/score/include/asm/auxvec.h | 4 + arch/score/include/asm/bitops.h | 16 +++++ arch/score/include/asm/bitsperlong.h | 6 ++ arch/score/include/asm/byteorder.h | 6 ++ arch/score/include/asm/div64.h | 6 ++ arch/score/include/asm/elf.h | 103 ++++++++++++++++++++++++++++++++++ 7 files changed, 147 insertions(+), 0 deletions(-) create mode 100644 arch/score/include/asm/atomic.h create mode 100644 arch/score/include/asm/auxvec.h create mode 100644 arch/score/include/asm/bitops.h create mode 100644 arch/score/include/asm/bitsperlong.h create mode 100644 arch/score/include/asm/byteorder.h create mode 100644 arch/score/include/asm/div64.h create mode 100644 arch/score/include/asm/elf.h
arch/score/include/asm/atomic.h new file +6 -0
@@ -0,0 +1,6 @@ +#ifndef _ASM_SCORE_ATOMIC_H +#define _ASM_SCORE_ATOMIC_H + +#include <asm-generic/atomic.h> + +#endif /* _ASM_SCORE_ATOMIC_H */
arch/score/include/asm/auxvec.h new file +4 -0
@@ -0,0 +1,4 @@ +#ifndef _ASM_SCORE_AUXVEC_H +#define _ASM_SCORE_AUXVEC_H + +#endif /* _ASM_SCORE_AUXVEC_H */
arch/score/include/asm/bitops.h new file +16 -0
@@ -0,0 +1,16 @@ +#ifndef _ASM_SCORE_BITOPS_H +#define _ASM_SCORE_BITOPS_H + +#include <asm/byteorder.h> /* swab32 */ +#include <asm/system.h> /* save_flags */ + +/* +* clear_bit() doesn't provide any barrier for the compiler. +*/ +#define smp_mb__before_clear_bit () barrier() +#define smp_mb__after_clear_bit () barrier() + +#include <asm-generic/bitops.h> +#include <asm-generic/bitops/__fls.h> + +#endif /* _ASM_SCORE_BITOPS_H */
arch/score/include/asm/bitsperlong.h new file +6 -0
@@ -0,0 +1,6 @@ +#ifndef _ASM_SCORE_BITSPERLONG_H +#define _ASM_SCORE_BITSPERLONG_H + +#include <asm-generic/bitsperlong.h> + +#endif /* _ASM_SCORE_BITSPERLONG_H */
arch/score/include/asm/byteorder.h new file +6 -0
@@ -0,0 +1,6 @@ +#ifndef _ASM_SCORE_BYTEORDER_H +#define _ASM_SCORE_BYTEORDER_H + +#include <linux/byteorder/little_endian.h> + +#endif /* _ASM_SCORE_BYTEORDER_H */
arch/score/include/asm/div64.h new file +6 -0
@@ -0,0 +1,6 @@ +#ifndef _ASM_SCORE_DIV64_H +#define _ASM_SCORE_DIV64_H + +#include <asm-generic/div64.h> + +#endif /* _ASM_SCORE_DIV64_H */
arch/score/include/asm/elf.h new file +103 -0
103 lines not on this page · raw message
Signature · 1 line
1.6.2