]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ppc/time.h
block: export "ro" attribute
[linux-2.6-omap-h63xx.git] / include / asm-ppc / time.h
index f7eadf6ac8063ddb6604a9cd09a5aba57abc1c2f..81dbcd43a501355bd90bceb8c1dc24a7f8c14f66 100644 (file)
@@ -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