sh: Provide diagnostic kernel stack checks
[deliverable/linux.git] / arch / sh / kernel / asm-offsets.c
index 99aceb28ee2475818186f6477ce17950bacc7afc..d218e808294ef5deda82aee64444f3dccb92161c 100644 (file)
@@ -26,6 +26,7 @@ int main(void)
        DEFINE(TI_CPU,          offsetof(struct thread_info, cpu));
        DEFINE(TI_PRE_COUNT,    offsetof(struct thread_info, preempt_count));
        DEFINE(TI_RESTART_BLOCK,offsetof(struct thread_info, restart_block));
+       DEFINE(TI_SIZE,         sizeof(struct thread_info));
 
 #ifdef CONFIG_HIBERNATION
        DEFINE(PBE_ADDRESS, offsetof(struct pbe, address));
This page took 0.023953 seconds and 5 git commands to generate.