|
@@ -14,13 +14,6 @@
|
|
|
* Generates definitions from c-type structures used by assembly sources.
|
|
|
*/
|
|
|
|
|
|
-#include <linux/kbuild.h>
|
|
|
-#include <linux/thread_info.h>
|
|
|
-#include <linux/sched.h>
|
|
|
-#include <linux/hardirq.h>
|
|
|
-#include <linux/ptrace.h>
|
|
|
-#include <hv/hypervisor.h>
|
|
|
-
|
|
|
/* Check for compatible compiler early in the build. */
|
|
|
#ifdef CONFIG_TILEGX
|
|
|
# ifndef __tilegx__
|
|
@@ -31,10 +24,17 @@
|
|
|
# endif
|
|
|
#else
|
|
|
# ifdef __tilegx__
|
|
|
-# error Can not build TILEPro/TILE64 configurations with tilegx compiler
|
|
|
+# error Can not build TILEPro configurations with tilegx compiler
|
|
|
# endif
|
|
|
#endif
|
|
|
|
|
|
+#include <linux/kbuild.h>
|
|
|
+#include <linux/thread_info.h>
|
|
|
+#include <linux/sched.h>
|
|
|
+#include <linux/hardirq.h>
|
|
|
+#include <linux/ptrace.h>
|
|
|
+#include <hv/hypervisor.h>
|
|
|
+
|
|
|
void foo(void)
|
|
|
{
|
|
|
DEFINE(SINGLESTEP_STATE_BUFFER_OFFSET,
|