]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
parisc: fix build when ARCH_HAS_KMAP
authorKyle McMartin <kyle@mcmartin.ca>
Thu, 2 Apr 2009 02:40:41 +0000 (02:40 +0000)
committerKyle McMartin <kyle@mcmartin.ca>
Thu, 2 Apr 2009 02:42:53 +0000 (02:42 +0000)
commitbb7350194130ae6bd3fdec16fe1b7597c1c0bb8d
treed08af56616640bd4f9461a76c0f6b2a228f704b6
parent7cec2ef4a298605b010f1c80041de884e777ea67
parisc: fix build when ARCH_HAS_KMAP

When we build for PA8X00, we define ARCH_HAS_KMAP, which results in
the kmap_types.h include in highmem.h getting skipped...

In file included from include/linux/pagemap.h:10,
                 from include/linux/mempolicy.h:62,
                 from init/main.c:52:
include/linux/highmem.h:196: warning: 'enum km_type' declared inside parameter list
include/linux/highmem.h:196: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/highmem.h:196: error: parameter 1 ('type') has incomplete type

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/include/asm/cacheflush.h