aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ppc/time.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-18 03:07:07 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 14:37:32 -0700
commite8c44319c691dfb4a0b039b095204c040df9b01a (patch)
tree66e9262f8a2659afc9b88c570fe6980b32974177 /include/asm-ppc/time.h
parentc80544dc0b87bb65038355e7aafdc30be16b26ab (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/time.h b/include/asm-ppc/time.h
index f7eadf6ac80..81dbcd43a50 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)
/* Accessor functions for the timebase (RTC on 601) registers. */
/* If one day CONFIG_POWER is added just define __USE_RTC as 1 */
#ifdef CONFIG_6xx
-extern __inline__ int __attribute_pure__ __USE_RTC(void) {
+extern __inline__ int __pure __USE_RTC(void) {
return (mfspr(SPRN_PVR)>>16) == 1;
}
#else