Re: [PATCH] mips: disable branch profiling in boot/decompress.o

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

 



On Sun, Jul 04, 2021 at 04:02:11PM -0700, Randy Dunlap wrote:
> Use DISABLE_BRANCH_PROFILING for arch/mips/boot/compressed/decompress.o
> to prevent linkage errors.
> 
> mips64-linux-ld: arch/mips/boot/compressed/decompress.o: in function `LZ4_decompress_fast_extDict':
> decompress.c:(.text+0x8c): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: decompress.c:(.text+0xf4): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: decompress.c:(.text+0x200): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: decompress.c:(.text+0x230): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: decompress.c:(.text+0x320): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: arch/mips/boot/compressed/decompress.o:decompress.c:(.text+0x3f4): more undefined references to `ftrace_likely_update' follow
> 
> Fixes: e76e1fdfa8f8 ("lib: add support for LZ4-compressed kernel")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
> Cc: linux-mips@xxxxxxxxxxxxxxx
> Cc: Kyungsik Lee <kyungsik.lee@xxxxxxx>
> ---
>  arch/mips/boot/compressed/decompress.c |    2 ++
>  1 file changed, 2 insertions(+)

applied to mips-next (for second pull request).

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]



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

  Powered by Linux