projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93f2cd8
)
powerpc/setup: Remove unnecessary #ifdef CONFIG_ALTIVEC
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Fri, 22 Mar 2019 08:08:42 +0000
(08:08 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 2 May 2019 15:58:11 +0000
(
01:58
+1000)
CPU_FTR_ALTIVEC is only set when CONFIG_ALTIVEC is selected, so
the ifdef is unnecessary.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/setup-common.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/setup-common.c
b/arch/powerpc/kernel/setup-common.c
index d06d50fe1e7e6692c8c6343bfba13fc57da9c5fa..3cb3774f380a615273d64ea6a80b9cc6ac66d85e 100644
(file)
--- a/
arch/powerpc/kernel/setup-common.c
+++ b/
arch/powerpc/kernel/setup-common.c
@@
-251,10
+251,8
@@
static int show_cpuinfo(struct seq_file *m, void *v)
else
seq_printf(m, "unknown (%08x)", pvr);
-#ifdef CONFIG_ALTIVEC
if (cpu_has_feature(CPU_FTR_ALTIVEC))
seq_printf(m, ", altivec supported");
-#endif /* CONFIG_ALTIVEC */
seq_printf(m, "\n");