]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: Fix asm/pgtable.h
authorMichal Simek <monstr@monstr.eu>
Sun, 16 Jan 2011 12:56:53 +0000 (13:56 +0100)
committerMichal Simek <monstr@monstr.eu>
Sun, 16 Jan 2011 13:29:41 +0000 (14:29 +0100)
commit900834e2be6430907592a2a118f16ef48af45ee0
tree91451f814f2d9337b43d577d59cba0c7db96b43f
parenta71d541216c11b7e16051a5b40671afd47e40a0d
microblaze: Fix asm/pgtable.h

Function ptep_test_and_clear_young have had wrong the first argument.
It is also necessary to add __HAVE macros for ptep_test_and_clear_young and
ptep_get_and_clear functions.

Error log:
In file included from linux/arch/microblaze/include/asm/pgtable.h:570,
                 from arch/microblaze/mm/pgtable.c:35:
include/asm-generic/pgtable.h:23: error: conflicting types for 'ptep_test_and_clear_young'
linux/arch/microblaze/include/asm/pgtable.h:449: error:
previous definition of 'ptep_test_and_clear_young' was here
include/asm-generic/pgtable.h:73: error: redefinition of 'ptep_get_and_clear'
linux/arch/microblaze/include/asm/pgtable.h:462: error:
previous definition of 'ptep_get_and_clear' was here

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/pgtable.h