]> git.karo-electronics.de Git - linux-beck.git/commit
sh: Fix up breakage from asm-generic/pgtable.h changes.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 14 Jan 2011 06:46:50 +0000 (15:46 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 14 Jan 2011 06:46:50 +0000 (15:46 +0900)
commit8f82f0c7029d39b499389c8e225cf147fb83abe2
treef0a7f6047f937f8541ff5e35bff61a1ae8fa859d
parent9c4bc1c2befbbdce4b9fd526e67a7a2ea143ffa2
sh: Fix up breakage from asm-generic/pgtable.h changes.

We require a forward declaration for mm_struct:

In file included from arch/sh/include/asm/pgtable.h:163,
                 from arch/sh/include/asm/io.h:21,
                 from arch/sh/kernel/machvec.c:20:
include/asm-generic/pgtable.h:104: error: 'struct mm_struct' declared inside parameter list
include/asm-generic/pgtable.h: In function 'ptep_get_and_clear_full':
include/asm-generic/pgtable.h:107: error: passing argument 1 of 'ptep_get_and_clear' from incompatible pointer type
include/asm-generic/pgtable.h:70: note: expected 'struct mm_struct *' but argument is of type 'struct mm_struct *'

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/pgtable.h