summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorAndrew Donnellan2016-12-06 07:27:59 +0100
committerMichael Ellerman2017-02-03 11:59:27 +0100
commiteac6f8b0c7adb003776dbad9d037ee2fc64f9d62 (patch)
treea54ddaffce2ea56170f2f5d82e245bb454aa791a /arch/powerpc/kernel/Makefile
parentgcc-plugins: Fix definition of DISABLE_LATENT_ENTROPY_PLUGIN (diff)
downloadkernel-qcow2-linux-eac6f8b0c7adb003776dbad9d037ee2fc64f9d62.tar.gz
kernel-qcow2-linux-eac6f8b0c7adb003776dbad9d037ee2fc64f9d62.tar.xz
kernel-qcow2-linux-eac6f8b0c7adb003776dbad9d037ee2fc64f9d62.zip
powerpc: Correctly disable latent entropy GCC plugin on prom_init.o
Commit 38addce8b600 ("gcc-plugins: Add latent_entropy plugin") excludes certain powerpc early boot code from the latent entropy plugin by adding appropriate CFLAGS. It looks like this was supposed to cover prom_init.o, but ended up saying init.o (which doesn't exist) instead. Fix the typo. Fixes: 38addce8b600 ("gcc-plugins: Add latent_entropy plugin") Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 23f8082d7bfa..f4898e6ad18d 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -15,7 +15,7 @@ CFLAGS_btext.o += -fPIC
endif
CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
-CFLAGS_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
+CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)