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-blackfin | |
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-blackfin')
-rw-r--r-- | include/asm-blackfin/processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-blackfin/processor.h b/include/asm-blackfin/processor.h index 6bb3e0d4705d..c571e958558c 100644 --- a/include/asm-blackfin/processor.h +++ b/include/asm-blackfin/processor.h | |||
@@ -104,13 +104,13 @@ unsigned long get_wchan(struct task_struct *p); | |||
104 | #define cpu_relax() barrier() | 104 | #define cpu_relax() barrier() |
105 | 105 | ||
106 | /* Get the Silicon Revision of the chip */ | 106 | /* Get the Silicon Revision of the chip */ |
107 | static inline __attribute_pure__ uint32_t bfin_revid(void) | 107 | static inline uint32_t __pure bfin_revid(void) |
108 | { | 108 | { |
109 | /* stored in the upper 4 bits */ | 109 | /* stored in the upper 4 bits */ |
110 | return bfin_read_CHIPID() >> 28; | 110 | return bfin_read_CHIPID() >> 28; |
111 | } | 111 | } |
112 | 112 | ||
113 | static inline __attribute_pure__ uint32_t bfin_compiled_revid(void) | 113 | static inline uint32_t __pure bfin_compiled_revid(void) |
114 | { | 114 | { |
115 | #if defined(CONFIG_BF_REV_0_0) | 115 | #if defined(CONFIG_BF_REV_0_0) |
116 | return 0; | 116 | return 0; |