]> 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)
commita456fb3012b123eb9850577874e61cfc8fb421e6
treeb012f72aed116ef436283caa2fe4e98413fc2f3c
parent71b0b7e5e8b6db7f961977239af9c6212e22ff8c
sh: asm/tlb.h needs linux/swap.h

Commit 87852a432c2222a887b3126e436bcc3502985e8d 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