diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-18 06:07:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:32 -0400 |
commit | e8c44319c691dfb4a0b039b095204c040df9b01a (patch) | |
tree | 66e9262f8a2659afc9b88c570fe6980b32974177 /arch/arm | |
parent | c80544dc0b87bb65038355e7aafdc30be16b26ab (diff) |
Replace __attribute_pure__ with __pure
To be consistent with the use of attributes in the rest of the kernel
replace all use of __attribute_pure__ with __pure and delete the definition
of __attribute_pure__.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Bryan Wu <bryan.wu@analog.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/nwfpe/fpopcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/nwfpe/fpopcode.h b/arch/arm/nwfpe/fpopcode.h index ec78e3517fc9..0090b19bbe61 100644 --- a/arch/arm/nwfpe/fpopcode.h +++ b/arch/arm/nwfpe/fpopcode.h | |||
@@ -369,20 +369,20 @@ TABLE 5 | |||
369 | #define getRoundingMode(opcode) ((opcode & MASK_ROUNDING_MODE) >> 5) | 369 | #define getRoundingMode(opcode) ((opcode & MASK_ROUNDING_MODE) >> 5) |
370 | 370 | ||
371 | #ifdef CONFIG_FPE_NWFPE_XP | 371 | #ifdef CONFIG_FPE_NWFPE_XP |
372 | static inline __attribute_pure__ floatx80 getExtendedConstant(const unsigned int nIndex) | 372 | static inline floatx80 __pure getExtendedConstant(const unsigned int nIndex) |
373 | { | 373 | { |
374 | extern const floatx80 floatx80Constant[]; | 374 | extern const floatx80 floatx80Constant[]; |
375 | return floatx80Constant[nIndex]; | 375 | return floatx80Constant[nIndex]; |
376 | } | 376 | } |
377 | #endif | 377 | #endif |
378 | 378 | ||
379 | static inline __attribute_pure__ float64 getDoubleConstant(const unsigned int nIndex) | 379 | static inline float64 __pure getDoubleConstant(const unsigned int nIndex) |
380 | { | 380 | { |
381 | extern const float64 float64Constant[]; | 381 | extern const float64 float64Constant[]; |
382 | return float64Constant[nIndex]; | 382 | return float64Constant[nIndex]; |
383 | } | 383 | } |
384 | 384 | ||
385 | static inline __attribute_pure__ float32 getSingleConstant(const unsigned int nIndex) | 385 | static inline float32 __pure getSingleConstant(const unsigned int nIndex) |
386 | { | 386 | { |
387 | extern const float32 float32Constant[]; | 387 | extern const float32 float32Constant[]; |
388 | return float32Constant[nIndex]; | 388 | return float32Constant[nIndex]; |