aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/tile/kernel/asm-offsets.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/tile/kernel/asm-offsets.c b/arch/tile/kernel/asm-offsets.c
index 97ea6ac0a47b..375e7c321eef 100644
--- a/arch/tile/kernel/asm-offsets.c
+++ b/arch/tile/kernel/asm-offsets.c
@@ -14,13 +14,6 @@
14 * Generates definitions from c-type structures used by assembly sources. 14 * Generates definitions from c-type structures used by assembly sources.
15 */ 15 */
16 16
17#include <linux/kbuild.h>
18#include <linux/thread_info.h>
19#include <linux/sched.h>
20#include <linux/hardirq.h>
21#include <linux/ptrace.h>
22#include <hv/hypervisor.h>
23
24/* Check for compatible compiler early in the build. */ 17/* Check for compatible compiler early in the build. */
25#ifdef CONFIG_TILEGX 18#ifdef CONFIG_TILEGX
26# ifndef __tilegx__ 19# ifndef __tilegx__
@@ -31,10 +24,17 @@
31# endif 24# endif
32#else 25#else
33# ifdef __tilegx__ 26# ifdef __tilegx__
34# error Can not build TILEPro/TILE64 configurations with tilegx compiler 27# error Can not build TILEPro configurations with tilegx compiler
35# endif 28# endif
36#endif 29#endif
37 30
31#include <linux/kbuild.h>
32#include <linux/thread_info.h>
33#include <linux/sched.h>
34#include <linux/hardirq.h>
35#include <linux/ptrace.h>
36#include <hv/hypervisor.h>
37
38void foo(void) 38void foo(void)
39{ 39{
40 DEFINE(SINGLESTEP_STATE_BUFFER_OFFSET, 40 DEFINE(SINGLESTEP_STATE_BUFFER_OFFSET,