Blackfin arch: use common __INIT/__FINIT defines rather than setting the .section...
[linux-2.6] / arch / mips / kernel / asm-offsets.c
index 3b27309..ca13629 100644 (file)
@@ -132,7 +132,6 @@ void output_thread_defines(void)
        offset("#define THREAD_ECODE   ", struct task_struct, \
               thread.error_code);
        offset("#define THREAD_TRAPNO  ", struct task_struct, thread.trap_no);
-       offset("#define THREAD_MFLAGS  ", struct task_struct, thread.mflags);
        offset("#define THREAD_TRAMP   ", struct task_struct, \
               thread.irix_trampoline);
        offset("#define THREAD_OLDCTX  ", struct task_struct, \
@@ -233,6 +232,10 @@ void output_mm_defines(void)
        constant("#define _PMD_T_LOG2    ", PMD_T_LOG2);
        constant("#define _PTE_T_LOG2    ", PTE_T_LOG2);
        linefeed;
+       constant("#define _PGD_ORDER     ", PGD_ORDER);
+       constant("#define _PMD_ORDER     ", PMD_ORDER);
+       constant("#define _PTE_ORDER     ", PTE_ORDER);
+       linefeed;
        constant("#define _PMD_SHIFT     ", PMD_SHIFT);
        constant("#define _PGDIR_SHIFT   ", PGDIR_SHIFT);
        linefeed;