Hi all, After merging the final tree, today's linux-next build (sparc32 defconfig) failed like this: arch/sparc/kernel/time_32.c: In function 'timer_interrupt': arch/sparc/kernel/time_32.c:105:3: error: invalid use of undefined type 'struct clock_event_device' arch/sparc/kernel/time_32.c: At top level: arch/sparc/kernel/time_32.c:111:17: error: 'enum clock_event_mode' declared inside parameter list [-Werror] arch/sparc/kernel/time_32.c:111:17: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] arch/sparc/kernel/time_32.c:110:53: error: parameter 1 ('mode') has incomplete type arch/sparc/kernel/time_32.c:110:13: error: function declaration isn't a prototype [-Werror=strict-prototypes] arch/sparc/kernel/time_32.c: In function 'timer_ce_set_mode': arch/sparc/kernel/time_32.c:114:8: error: 'CLOCK_EVT_MODE_PERIODIC' undeclared (first use in this function) arch/sparc/kernel/time_32.c:114:8: note: each undeclared identifier is reported only once for each function it appears in arch/sparc/kernel/time_32.c:115:8: error: 'CLOCK_EVT_MODE_RESUME' undeclared (first use in this function) arch/sparc/kernel/time_32.c:118:8: error: 'CLOCK_EVT_MODE_SHUTDOWN' undeclared (first use in this function) arch/sparc/kernel/time_32.c: In function 'setup_timer_ce': arch/sparc/kernel/time_32.c:133:4: error: dereferencing pointer to incomplete type arch/sparc/kernel/time_32.c:134:4: error: dereferencing pointer to incomplete type arch/sparc/kernel/time_32.c:135:4: error: dereferencing pointer to incomplete type arch/sparc/kernel/time_32.c:135:17: error: 'CLOCK_EVT_FEAT_PERIODIC' undeclared (first use in this function) arch/sparc/kernel/time_32.c:136:4: error: dereferencing pointer to incomplete type arch/sparc/kernel/time_32.c:137:4: error: dereferencing pointer to incomplete type arch/sparc/kernel/time_32.c:138:4: error: dereferencing pointer to incomplete type arch/sparc/kernel/time_32.c:139:4: error: dereferencing pointer to incomplete type arch/sparc/kernel/time_32.c:139:2: error: implicit declaration of function 'div_sc' [-Werror=implicit-function-declaration] arch/sparc/kernel/time_32.c:140:26: error: dereferencing pointer to incomplete type arch/sparc/kernel/time_32.c:141:2: error: implicit declaration of function 'clockevents_register_device' [-Werror=implicit-function-declaration] I have no idea what caused this, I did not get this yesterday. I have left this build broken for today. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp2g60yiZmdR.pgp
Description: PGP signature