]> git.baikalelectronics.ru Git - kernel.git/commit
fix sh ptep_get_and_clear breakage
authorAdrian Bunk <bunk@kernel.org>
Wed, 16 Jul 2008 16:45:40 +0000 (19:45 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:35 +0000 (18:10 +0900)
commit94d7eb84cf1f9a51cbf5d119ab0e83a8a69490ce
treeae8f4c3d41f10232e12e3ec2a2d52bcd4069597d
parent539c46d6115377687971459c63073316cbe23762
fix sh ptep_get_and_clear breakage

Commit 7e83799574f7b052d84a7bdcbf54b498a1ac9f42
(mm: add a ptep_modify_prot transaction abstraction)
triggered on sh build errors like the following:

<--  snip  -->

...
  CC      arch/sh/mm/pg-sh4.o
cc1: warnings being treated as errors
include2/asm/pgtable.h:139: error: 'ptep_get_and_clear' declared inline after being called
include2/asm/pgtable.h:139: error: previous declaration of 'ptep_get_and_clear' was here
make[2]: *** [arch/sh/mm/pg-sh4.o] Error 1

<--  snip  -->

Since there's no good reason for marking these global functions as
"inline" this patch therefore removes the inline's.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/pg-sh7705.c