--- zzzz-none-000/linux-3.18.24/arch/mips/include/asm/string.h 2015-10-31 20:39:51.000000000 +0000 +++ rtl96-5690pro-762/linux-3.18.24/arch/mips/include/asm/string.h 2024-08-14 08:36:36.000000000 +0000 @@ -6,6 +6,9 @@ * Copyright (c) 1994, 95, 96, 97, 98, 2000, 01 Ralf Baechle * Copyright (c) 2000 by Silicon Graphics, Inc. * Copyright (c) 2001 MIPS Technologies, Inc. + * + * Modified for RLX processors + * Copyright (C) 2008-2011 Tony Wu (tonywu@realtek.com) */ #ifndef _ASM_STRING_H #define _ASM_STRING_H @@ -84,7 +87,7 @@ "addiu\t%1,1\n\t" "bnez\t%2,1b\n\t" "lbu\t%2,(%0)\n\t" -#if defined(CONFIG_CPU_R3000) +#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_RLX4181) || defined(CONFIG_CPU_RLX5181) "nop\n\t" #endif "move\t%2,$1\n" @@ -117,7 +120,7 @@ "bnez\t%3,1b\n\t" "addiu\t%1,1\n" "2:\n\t" -#if defined(CONFIG_CPU_R3000) +#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_RLX4181) || defined(CONFIG_CPU_RLX5181) "nop\n\t" #endif "move\t%3,$1\n"