powerpc/64s: Always disable branch profiling for prom_init.o
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 6 Nov 2019 02:30:25 +0000 (13:30 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 6 Nov 2019 05:13:08 +0000 (16:13 +1100)
commit6266a4dadb1d0976490fdf5af4f7941e36f64e80
treee3bae55e2c844ec8efecb99507b6c9cfaf6975ab
parent3775026a654c15c92c8ac2d53f3fd14fdd1980df
powerpc/64s: Always disable branch profiling for prom_init.o

Otherwise the build fails because prom_init is calling symbols it's
not allowed to, eg:

  Error: External symbol 'ftrace_likely_update' referenced from prom_init.c
  make[3]: *** [arch/powerpc/kernel/Makefile:197: arch/powerpc/kernel/prom_init_check] Error 1

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191106051129.7626-1-mpe@ellerman.id.au
arch/powerpc/kernel/Makefile