diff options
author | Andrew Donnellan <andrew.donnellan@au1.ibm.com> | 2016-12-06 01:27:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 08:00:14 -0400 |
commit | 1641bb14e8be44579b5854f7b89e145d95a291ab (patch) | |
tree | 519305f214d4e1c3f1da6d08a96a78070287b9a3 | |
parent | b47a6b40655b56bd4e578cb079013b666c9626fd (diff) |
powerpc: Correctly disable latent entropy GCC plugin on prom_init.o
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 <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/powerpc/kernel/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 1925341dbb9c..adb52d101133 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -15,7 +15,7 @@ CFLAGS_btext.o += -fPIC | |||
15 | endif | 15 | endif |
16 | 16 | ||
17 | CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) | 17 | CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) |
18 | CFLAGS_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) | 18 | CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) |
19 | CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) | 19 | CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) |
20 | CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) | 20 | CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) |
21 | 21 | ||