Skip to content

Commit

Permalink
sparc64: Remove explicit initialization of mmu_gathers
Browse files Browse the repository at this point in the history
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

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 12, 2008
1 parent 7694b02 commit a9e7bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a9e7bb0

Please sign in to comment.