asm-offsets.c (dca3a783400a18e2bf4503b1d4a85c4d0ca1a7e4) asm-offsets.c (1ec9db1056b0c4b8b9dfca4736634c7c8e0833d5)
1/*
2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include <linux/sched.h>
10#include <linux/mm.h>
11#include <linux/interrupt.h>
12#include <linux/thread_info.h>
13#include <linux/kbuild.h>
1/*
2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include <linux/sched.h>
10#include <linux/mm.h>
11#include <linux/interrupt.h>
12#include <linux/thread_info.h>
13#include <linux/kbuild.h>
14#include <linux/ptrace.h>
14#include <asm/hardirq.h>
15#include <asm/page.h>
15#include <asm/hardirq.h>
16#include <asm/page.h>
16#include <asm/ptrace.h>
17
18int main(void)
19{
20 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread));
21 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack));
22
23 BLANK();
24

--- 40 unchanged lines hidden ---
17
18int main(void)
19{
20 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread));
21 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack));
22
23 BLANK();
24

--- 40 unchanged lines hidden ---