diff options
| author | Mark Brown <[email protected]> | 2013-06-14 10:16:06 +0100 | 
|---|---|---|
| committer | Mark Brown <[email protected]> | 2013-06-14 10:16:06 +0100 | 
| commit | 384b8345589cbbb18a99ce1b112da90c58c802e8 (patch) | |
| tree | 51fee39fa19adad6b24fb90123e7a0ca3159c9c5 /mm/memory.c | |
| parent | 9c24b1672283644adf871244771ebf387dd73f90 (diff) | |
| parent | 2e7ee15ced914e109a1a5b6dfcd463d846a13bd5 (diff) | |
Merge branch 'fix/wm8962' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-wm8962
Conflicts:
	sound/soc/codecs/wm8962.c
Diffstat (limited to 'mm/memory.c')
| -rw-r--r-- | mm/memory.c | 9 | 
1 files changed, 0 insertions, 9 deletions
diff --git a/mm/memory.c b/mm/memory.c index 6dc1882fbd72..61a262b08e53 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -220,7 +220,6 @@ void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, bool fullmm)  	tlb->start	= -1UL;  	tlb->end	= 0;  	tlb->need_flush = 0; -	tlb->fast_mode  = (num_possible_cpus() == 1);  	tlb->local.next = NULL;  	tlb->local.nr   = 0;  	tlb->local.max  = ARRAY_SIZE(tlb->__pages); @@ -244,9 +243,6 @@ void tlb_flush_mmu(struct mmu_gather *tlb)  	tlb_table_flush(tlb);  #endif -	if (tlb_fast_mode(tlb)) -		return; -  	for (batch = &tlb->local; batch; batch = batch->next) {  		free_pages_and_swap_cache(batch->pages, batch->nr);  		batch->nr = 0; @@ -288,11 +284,6 @@ int __tlb_remove_page(struct mmu_gather *tlb, struct page *page)  	VM_BUG_ON(!tlb->need_flush); -	if (tlb_fast_mode(tlb)) { -		free_page_and_swap_cache(page); -		return 1; /* avoid calling tlb_flush_mmu() */ -	} -  	batch = tlb->active;  	batch->pages[batch->nr++] = page;  	if (batch->nr == batch->max) {  |