Re: [PATCH] MIPS: Exclude more dsemul code when CONFIG_MIPS_FP_SUPPORT=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


(追記) (追記ここまで)



On Wed, Mar 04, 2020 at 06:45:25PM +0800, Yousong Zhou wrote:
> This furthers what commit 42b10815d559 ("MIPS: Don't compile math-emu
> when CONFIG_MIPS_FP_SUPPORT=n") has done
> 
> Signed-off-by: Yousong Zhou <yszhou4tech@xxxxxxxxx>
> ---
> arch/mips/include/asm/processor.h | 12 ++++++------
> arch/mips/kernel/process.c | 10 ++++++++--
> arch/mips/kernel/vdso.c | 26 +++++++++++++++-----------
> 3 files changed, 29 insertions(+), 19 deletions(-)
> [...]
 
> -	unsigned long base;
> +	unsigned long base = STACK_TOP;
> 
> -	/* Skip the delay slot emulation page */
> -	base = STACK_TOP + PAGE_SIZE;
> +	if (IS_ENABLED(CONFIG_MIPS_FP_EMULATOR)) {
I can't find CONFIG_MIPS_FP_EMULATOR in my tree. So is this really
the correct ?
> -		ret = base;
> -		goto out;
> +	if (IS_ENABLED(CONFIG_MIPS_FP_EMULATOR)) {
same here.
Thomas.
-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]

[Index of Archives] [Linux MIPS Home] [LKML Archive] [Linux ARM Kernel] [Linux ARM] [Linux] [Git] [Yosemite News] [Linux SCSI] [Linux Hams]

(追記) (追記ここまで)
Powered by Linux

AltStyle によって変換されたページ (->オリジナル) /