|
@@ -13,14 +13,11 @@
|
|
#include <linux/kernel_stat.h>
|
|
#include <linux/kernel_stat.h>
|
|
#include <linux/ptrace.h>
|
|
#include <linux/ptrace.h>
|
|
#include <linux/hardirq.h>
|
|
#include <linux/hardirq.h>
|
|
|
|
+#include <linux/kbuild.h>
|
|
|
|
+
|
|
#include <asm/irq.h>
|
|
#include <asm/irq.h>
|
|
#include <asm/errno.h>
|
|
#include <asm/errno.h>
|
|
|
|
|
|
-#define DEFINE(sym, val) \
|
|
|
|
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
|
|
|
|
-
|
|
|
|
-#define BLANK() asm volatile("\n->" : : )
|
|
|
|
-
|
|
|
|
int main (void)
|
|
int main (void)
|
|
{
|
|
{
|
|
/* offsets into the task struct */
|
|
/* offsets into the task struct */
|