"enum km_type" and "__KM_CACHE" are still used inarch/frv/include/asm/highmem.h:

In file included from include/linux/highmem.h:34:0, from include/linux/pagemap.h:10, from include/linux/mempolicy.h:80, from init/main.c:49:arch/frv/include/asm/highmem.h:115:136: warning: 'enum km_type'declared inside parameter list [enabled by default]arch/frv/include/asm/highmem.h:115:136: warning: its scope is onlythis definition or declaration, which is probably not what you want[enabled by default]arch/frv/include/asm/highmem.h:115:144: error: parameter 2 ('type')has incomplete typearch/frv/include/asm/highmem.h:115:92: warning: function declarationisn't a prototype [-Wstrict-prototypes]arch/frv/include/asm/highmem.h: In function 'kmap_atomic_primary':arch/frv/include/asm/highmem.h:123:144: error: '__KM_CACHE' undeclared(first use in this function)arch/frv/include/asm/highmem.h:123:144: note: each undeclaredidentifier is reported only once for each function it appears inIn file included from include/linux/highmem.h:34:0, from include/linux/pagemap.h:10, from include/linux/mempolicy.h:80, from init/main.c:49:arch/frv/include/asm/highmem.h: At top level:arch/frv/include/asm/highmem.h:146:132: warning: 'enum km_type'declared inside parameter list [enabled by default]arch/frv/include/asm/highmem.h:146:140: error: parameter 2 ('type')has incomplete typearch/frv/include/asm/highmem.h:146:91: warning: function declarationisn't a prototype [-Wstrict-prototypes]arch/frv/include/asm/highmem.h: In function 'kunmap_atomic_primary':arch/frv/include/asm/highmem.h:149:84: error: '__KM_CACHE' undeclared(first use in this function)make[1]: *** [init/main.o] Error 1

In personal conversations with technical people, I call myself a hacker. Butwhen I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds--To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.kernel.orgMore majordomo info at http://vger.kernel.org/majordomo-info.htmlPlease read the FAQ at http://www.tux.org/lkml/