[TG3]: Set minimal hw interrupt mitigation.
[linux-2.6/verdex.git] / arch / um / sys-i386 / util / mk_thread.c
blob7470d0dda67ec98d6a347fdab2f09101988de6cf
1 #include <stdio.h>
2 #include <kernel-offsets.h>
4 int main(int argc, char **argv)
6 printf("/*\n");
7 printf(" * Generated by mk_thread\n");
8 printf(" */\n");
9 printf("\n");
10 printf("#ifndef __UM_THREAD_H\n");
11 printf("#define __UM_THREAD_H\n");
12 printf("\n");
13 printf("#define TASK_DEBUGREGS(task) ((unsigned long *) "
14 "&(((char *) (task))[%d]))\n", TASK_DEBUGREGS);
15 #ifdef TASK_EXTERN_PID
16 printf("#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[%d]))\n",
17 TASK_EXTERN_PID);
18 #endif
19 printf("\n");
20 printf("#endif\n");
21 return(0);