]> git.baikalelectronics.ru Git - kernel.git/commit
sh: asm/tlb.h needs linux/swap.h
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Tue, 31 May 2011 04:27:41 +0000 (13:27 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 31 May 2011 04:27:41 +0000 (13:27 +0900)
commit451d96b374f6aee0a36126bb40c0a682b3179a8e
treeb012f72aed116ef436283caa2fe4e98413fc2f3c
parentd056f2706ba483dbc2d3bf4bf26c8a0f2578c4eb
sh: asm/tlb.h needs linux/swap.h

Commit a2171bf7cef19aff18bff8bd3591a81954a59fb9 introduced the mmu_gather
rework for sh, but missed a linux/swap.h include:

CC      arch/sh/mm/tlb-urb.o
In file included from arch/sh/mm/tlb-urb.c:14:0:
arch/sh/include/asm/tlb.h: In function '__tlb_remove_page':
arch/sh/include/asm/tlb.h:92:2: error: implicit declaration of function 'free_page_and_swap_cache'

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/tlb.h