Merge branch 'stacking-fixes' (vfs stacking fixes from Jann)
[deliverable/linux.git] / arch / avr32 / kernel / asm-offsets.c
CommitLineData
5f97f7f9
HS
1/*
2 * Generate definitions needed by assembly language modules.
3 * This code generates raw asm output which is post-processed
4 * to extract and format the required data.
5 */
6
9e3f544d
HS
7#include <linux/mm.h>
8#include <linux/sched.h>
5f97f7f9 9#include <linux/thread_info.h>
40765200 10#include <linux/kbuild.h>
5f97f7f9
HS
11
12void foo(void)
13{
14 OFFSET(TI_task, thread_info, task);
5f97f7f9
HS
15 OFFSET(TI_flags, thread_info, flags);
16 OFFSET(TI_cpu, thread_info, cpu);
17 OFFSET(TI_preempt_count, thread_info, preempt_count);
2507bc13
HS
18 OFFSET(TI_rar_saved, thread_info, rar_saved);
19 OFFSET(TI_rsr_saved, thread_info, rsr_saved);
9e3f544d
HS
20 BLANK();
21 OFFSET(TSK_active_mm, task_struct, active_mm);
22 BLANK();
23 OFFSET(MM_pgd, mm_struct, pgd);
5f97f7f9 24}
This page took 0.893143 seconds and 5 git commands to generate.