Commit 83c87843 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix unmap_vmas() compile warning

Silence a bogus "may be used uninitialised" warning.  It only affects
architectures which use the tlb_finish_mmu() args.
parent 99cfd107
...@@ -525,7 +525,7 @@ int unmap_vmas(struct mmu_gather **tlbp, struct mm_struct *mm, ...@@ -525,7 +525,7 @@ int unmap_vmas(struct mmu_gather **tlbp, struct mm_struct *mm,
unsigned long end_addr, unsigned long *nr_accounted) unsigned long end_addr, unsigned long *nr_accounted)
{ {
unsigned long zap_bytes = ZAP_BLOCK_SIZE; unsigned long zap_bytes = ZAP_BLOCK_SIZE;
unsigned long tlb_start; /* For tlb_finish_mmu */ unsigned long tlb_start = 0; /* For tlb_finish_mmu */
int tlb_start_valid = 0; int tlb_start_valid = 0;
int ret = 0; int ret = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment