Re: [PATCH] lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option

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

 



On Thu,  3 Mar 2022 16:20:48 +0800 Feng Tang <feng.tang@xxxxxxxxx> wrote:

> 0Day robots reported there is compiling issue for 'csky' ARCH
> when CONFIG_DEBUG_FORCE_DATA_SECTION_ALIGNED is enabled [1]:
> 
> ...
>
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -401,8 +401,8 @@ config SECTION_MISMATCH_WARN_ONLY
>  	  If unsure, say Y.
>  
>  config DEBUG_FORCE_FUNCTION_ALIGN_64B
> -	bool "Force all function address 64B aligned" if EXPERT
> -	depends on PPC || ARM || X86

I cannot find a kernel which contains the above line?

> +	bool "Force all function address 64B aligned"
> +	depends on EXPERT && (X86_64 || ARM64 || PPC32 || PPC64 || ARC)
>  	help
>  	  There are cases that a commit from one domain changes the function
>  	  address alignment of other domains, and cause magic performance




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux