2.6.34: arch/powerpc/sysdev/micropatch.c not compiling

From: LEROY Christophe
Date: Mon Jul 05 2010 - 04:30:28 EST


When activating micropatch option, the kernel does not compile.

It looks like a spi_t is not defined anywhere.

CC arch/powerpc/sysdev/micropatch.o
arch/powerpc/sysdev/micropatch.c: In function ‘cpm_load_patch’:
arch/powerpc/sysdev/micropatch.c:629: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
arch/powerpc/sysdev/micropatch.c:629: erreur: ‘spp’ undeclared (first use in this function)
arch/powerpc/sysdev/micropatch.c:629: erreur: (Each undeclared identifier is reported only once
arch/powerpc/sysdev/micropatch.c:629: erreur: for each function it appears in.)
cc1: warnings being treated as errors
arch/powerpc/sysdev/micropatch.c:630: erreur: ISO C89 interdit les mélanges de déclarations et de code
arch/powerpc/sysdev/micropatch.c:671: erreur: ‘spi_t’ undeclared (first use in this function)
arch/powerpc/sysdev/micropatch.c:671: erreur: expected expression before ‘)’ token
make[1]: *** [arch/powerpc/sysdev/micropatch.o] Erreur 1
make: *** [arch/powerpc/sysdev] Erreur 2

Regards

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/