Re: Re: [PATCH 2/2] csky: add CONFIG_CPU_HAS_MATHEMU and use in traps

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

 



thanks, I will fix it

"Randy Dunlap" <rdunlap@xxxxxxxxxxxxx>写道:
> Hi--
> 
> On 4/20/21 7:49 PM, Wang Junqiang wrote:
> > diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
> > index 34e91224adc3..a414225570c1 100644
> > --- a/arch/csky/Kconfig
> > +++ b/arch/csky/Kconfig
> > @@ -97,6 +97,9 @@ config CPU_HAS_CACHEV2
> >  config CPU_HAS_FPUV2
> >  	bool
> >  
> > +config CPU_HAS_MATHEMU
> > +	bool
> > +
> 
> Why do you have this new kconfig symbol two times in the same file?
> 
> >  config CPU_HAS_HILO
> >  	bool
> >  
> > @@ -281,6 +284,11 @@ config CPU_HAS_VDSP
> >  	bool "CPU has VDSP coprocessor"
> >  	depends on CPU_HAS_FPU && CPU_HAS_FPUV2
> >  
> > +config CPU_HAS_MATHEMU
> > +	bool "CPU has FPU Mathemu Instructions"
> > +	depends on CPU_CK810 || CPU_CK860
> > +	default n
> > +
> >  config CPU_HAS_FPU
> >  	bool "CPU has FPU coprocessor"
> >  	depends on CPU_CK807 || CPU_CK810 || CPU_CK860
> 
> 
> thanks.
> -- 
> ~Randy




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux