diff options
author | Roman Yeryomin <roman@advem.lv> | 2013-05-17 20:40:24 +0300 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2013-05-17 20:40:24 +0300 |
commit | e6d87036412b952cb083eff2dc716aee97a771f2 (patch) | |
tree | 273dd3daaa85553832d3cc6d48276229dc7fbe09 /target/linux/realtek/files/arch/rlx/include/asm/string.h | |
parent | a18fec42221baa52fff4c5ffd45ec8f32e3add36 (diff) |
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/arch/rlx/include/asm/string.h')
-rw-r--r-- | target/linux/realtek/files/arch/rlx/include/asm/string.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/realtek/files/arch/rlx/include/asm/string.h b/target/linux/realtek/files/arch/rlx/include/asm/string.h index a25225fda..4a587f74e 100644 --- a/target/linux/realtek/files/arch/rlx/include/asm/string.h +++ b/target/linux/realtek/files/arch/rlx/include/asm/string.h @@ -82,7 +82,7 @@ static __inline__ int strcmp(__const__ char *__cs, __const__ char *__ct) "addiu\t%1,1\n\t" "bnez\t%2,1b\n\t" "lbu\t%2,(%0)\n\t" -#if defined(CONFIG_CPU_RLX4180) || defined(CONFIG_CPU_RLX4181) || defined(CONFIG_CPU_RLX5181) +#if defined(CONFIG_CPU_RLX4181) || defined(CONFIG_CPU_RLX5181) "nop\n\t" #endif "move\t%2,$1\n" @@ -115,7 +115,7 @@ strncmp(__const__ char *__cs, __const__ char *__ct, size_t __count) "bnez\t%3,1b\n\t" "addiu\t%1,1\n" "2:\n\t" -#if defined(CONFIG_CPU_RLX4180) || defined(CONFIG_CPU_RLX4181) || defined(CONFIG_CPU_RLX5181) +#if defined(CONFIG_CPU_RLX4181) || defined(CONFIG_CPU_RLX5181) "nop\n\t" #endif "move\t%3,$1\n" @@ -123,7 +123,7 @@ strncmp(__const__ char *__cs, __const__ char *__ct, size_t __count) ".set\tat\n\t" ".set\treorder" : "=r" (__cs), "=r" (__ct), "=r" (__count), "=r" (__res) - : "0" (__cs), "1" (__ct), "2" (__count), "m" (*__cs), "m" (*__ct)); + : "0" (__cs), "1" (__ct), "2" (__count), "m" (*__cs), "m" (*__ct)); return __res; } |