Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1639491 > unrolled thread

[PATCH 4.10 018/129] powerpc: Correctly disable latent entropy GCC plugin on prom_init.o

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2017-05-11 16:20 +0200
Last post2017-05-11 16:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.10 018/129] powerpc: Correctly disable latent entropy GCC plugin on prom_init.o Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 16:20 +0200

#1639491 — [PATCH 4.10 018/129] powerpc: Correctly disable latent entropy GCC plugin on prom_init.o

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 16:20 +0200
Subject[PATCH 4.10 018/129] powerpc: Correctly disable latent entropy GCC plugin on prom_init.o
Message-ID<tFX6G-7p4-19@gated-at.bofh.it>
4.10-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Andrew Donnellan <andrew.donnellan@au1.ibm.com>

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>

---
 arch/powerpc/kernel/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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)
 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web