From: Andrew Donnellan Date: Tue, 6 Dec 2016 06:27:59 +0000 (+1100) Subject: powerpc: Correctly disable latent entropy GCC plugin on prom_init.o X-Git-Tag: Ubuntu-4.10.0-25.29~260 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=782f728273c40a90f6c5da5fa244fc0ccb7af75c;p=mirror_ubuntu-zesty-kernel.git powerpc: Correctly disable latent entropy GCC plugin on prom_init.o BugLink: http://bugs.launchpad.net/bugs/1691369 commit eac6f8b0c7adb003776dbad9d037ee2fc64f9d62 upstream. 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 Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman Signed-off-by: Stefan Bader Signed-off-by: Thadeu Lima de Souza Cascardo --- diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 937e1d9edf26..811f441a125f 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)