From fc673157151dfeb23dc20d42d1654980168f086c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 21 May 2007 18:09:22 +0800 Subject: [PATCH] --- yaml --- r: 56647 b: refs/heads/master c: eb8d5f6c0322e641ec32ed632dd3b02586205673 h: refs/heads/master i: 56645: bec7ccce7a2b0e5fc80e2934db91d5eebeb5fb1c 56643: 4af2259a5d896133204e263177ed5d0c8dac2ab0 56639: c36ded5cca4d770c2eedebdde260a9c7296fbbd0 v: v3 --- [refs] | 2 +- trunk/include/asm-blackfin/processor.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 6dcb9ecaa1bc..35be58108d6d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0a290593a053752d9629fb1276392ce35c26b348 +refs/heads/master: eb8d5f6c0322e641ec32ed632dd3b02586205673 diff --git a/trunk/include/asm-blackfin/processor.h b/trunk/include/asm-blackfin/processor.h index 0336ff132c16..aba2b30a8ed8 100644 --- a/trunk/include/asm-blackfin/processor.h +++ b/trunk/include/asm-blackfin/processor.h @@ -104,13 +104,13 @@ unsigned long get_wchan(struct task_struct *p); #define cpu_relax() barrier() /* Get the Silicon Revision of the chip */ -static inline uint32_t bfin_revid(void) +static inline __attribute_pure__ uint32_t bfin_revid(void) { /* stored in the upper 4 bits */ return bfin_read_CHIPID() >> 28; } -static inline uint32_t bfin_compiled_revid(void) +static inline __attribute_pure__ uint32_t bfin_compiled_revid(void) { #if defined(CONFIG_BF_REV_0_0) return 0;