]> err.no Git - linux-2.6/blobdiff - arch/sparc/kernel/asm-offsets.c
x86: printk kernel version in WARN_ON and other dump_stack users
[linux-2.6] / arch / sparc / kernel / asm-offsets.c
index 1f55231f07de966b4f88cee63f12e46b5502ca5a..6773ed76e414bec7b851d94cebddf2fec48ff1e7 100644 (file)
@@ -10,7 +10,6 @@
  * On sparc, thread_info data is static and TI_XXX offsets are computed by hand.
  */
 
-#include <linux/config.h>
 #include <linux/sched.h>
 // #include <linux/mm.h>
 
@@ -29,7 +28,7 @@ int foo(void)
        DEFINE(AOFF_task_gid, offsetof(struct task_struct, gid));
        DEFINE(AOFF_task_euid, offsetof(struct task_struct, euid));
        DEFINE(AOFF_task_egid, offsetof(struct task_struct, egid));
-       /* DEFINE(THREAD_INFO, offsetof(struct task_struct, thread_info)); */
+       /* DEFINE(THREAD_INFO, offsetof(struct task_struct, stack)); */
        DEFINE(ASIZ_task_uid,   sizeof(current->uid));
        DEFINE(ASIZ_task_gid,   sizeof(current->gid));
        DEFINE(ASIZ_task_euid,  sizeof(current->euid));