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 /include/asm-ppc/time.h | |
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 'include/asm-ppc/time.h')
-rw-r--r-- | include/asm-ppc/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/time.h b/include/asm-ppc/time.h index f7eadf6ac806..81dbcd43a501 100644 --- a/include/asm-ppc/time.h +++ b/include/asm-ppc/time.h | |||
@@ -57,7 +57,7 @@ static __inline__ void set_dec(unsigned int val) | |||
57 | /* Accessor functions for the timebase (RTC on 601) registers. */ | 57 | /* Accessor functions for the timebase (RTC on 601) registers. */ |
58 | /* If one day CONFIG_POWER is added just define __USE_RTC as 1 */ | 58 | /* If one day CONFIG_POWER is added just define __USE_RTC as 1 */ |
59 | #ifdef CONFIG_6xx | 59 | #ifdef CONFIG_6xx |
60 | extern __inline__ int __attribute_pure__ __USE_RTC(void) { | 60 | extern __inline__ int __pure __USE_RTC(void) { |
61 | return (mfspr(SPRN_PVR)>>16) == 1; | 61 | return (mfspr(SPRN_PVR)>>16) == 1; |
62 | } | 62 | } |
63 | #else | 63 | #else |