]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: fix build with STRICT_MM_TYPECHECKS
authorSam Ravnborg <sam@ravnborg.org>
Fri, 22 Apr 2016 17:41:06 +0000 (19:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 May 2016 00:55:42 +0000 (17:55 -0700)
commit2bae44d16f7a8590f75dd15453b1c2450402f60c
treed73fa35cee06dedad8540a29e922559c5f2abb01
parent15d2c9fbf5cf1800d1da4c222755f8f9e9abd8e1
sparc32: fix build with STRICT_MM_TYPECHECKS

Based on recent thread on linux-arch (some weeks ago) I
decided to check how much work was required to build sparc32
with STRICT_MM_TYPECHECKS enabled.

The resulting binary (checked srmmu.o) was to my suprise smaller with
STRICT_MM_TYPECHECKS defined, than without.

As I have no working gear to test sparc32 bits at for the moment,
I did not enable STRICT_MM_TYPECHECKS - but was tempeted to do so.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/page_32.h
arch/sparc/include/asm/pgalloc_32.h
arch/sparc/include/asm/pgtable_32.h
arch/sparc/mm/io-unit.c
arch/sparc/mm/srmmu.c