Re: + kallsyms-remove-arch-specific-text-and-data-check.patch added to -mm tree

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

 



On (21/09/30 14:21), akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> +++ a/include/linux/kallsyms.h
> @@ -34,8 +34,7 @@ static inline int is_kernel_inittext(uns
>  
>  static inline int is_kernel_text(unsigned long addr)
>  {
> -	if ((addr >= (unsigned long)_stext && addr <= (unsigned long)_etext) ||
> -	    arch_is_kernel_text(addr))
> +	if ((addr >= (unsigned long)_stext && addr <= (unsigned long)_etext))
>  		return 1;

Does this need to include _etext or should it be '< _etext'?



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux