[TG3]: Set minimal hw interrupt mitigation.
[linux-2.6/verdex.git] / arch / um / util / mk_constants.c
blobab217becc36a8402bc98478682a7ee4a897657c0
1 #include <stdio.h>
2 #include <kernel-offsets.h>
4 #define SHOW_INT(sym) printf("#define %s %d\n", #sym, sym)
5 #define SHOW_STR(sym) printf("#define %s %s\n", #sym, sym)
7 int main(int argc, char **argv)
9 printf("/*\n");
10 printf(" * Generated by mk_constants\n");
11 printf(" */\n");
12 printf("\n");
13 printf("#ifndef __UM_CONSTANTS_H\n");
14 printf("#define __UM_CONSTANTS_H\n");
15 printf("\n");
17 SHOW_INT(UM_KERN_PAGE_SIZE);
19 SHOW_STR(UM_KERN_EMERG);
20 SHOW_STR(UM_KERN_ALERT);
21 SHOW_STR(UM_KERN_CRIT);
22 SHOW_STR(UM_KERN_ERR);
23 SHOW_STR(UM_KERN_WARNING);
24 SHOW_STR(UM_KERN_NOTICE);
25 SHOW_STR(UM_KERN_INFO);
26 SHOW_STR(UM_KERN_DEBUG);
28 SHOW_INT(UM_NSEC_PER_SEC);
29 printf("\n");
30 printf("#endif\n");
31 return(0);