Skip to contentSkip to conversation

: sparc64: Remove explicit initialization of

PATCH New David Miller 1 participant 1 message Sep 12, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 13/16 : sparc64: Remove explicit initialization of

sparc64: Remove explicit initialization of mmu_gathers

This was just needed to work around an ancient gcc bug that we don't care about any more.

It was also causing a sparse warnings:

arch/sparc64/mm/tlb.c:22:52: warning: Using plain integer as NULL pointer

---
 arch/sparc64/mm/tlb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc64/mm/tlb.c +1 -1
index ae24919..d8f21e2 100644
@@ -19,7 +19,7 @@
 
 /* Heavily inspired by the ppc64 code.  */
 
-DEFINE_PER_CPU(struct mmu_gather, mmu_gathers) = { 0, };
+DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
 
 void flush_tlb_pending(void)
 {
Signature · 1 line
1.5.6.5.GIT