Al Viro | a31769e | 2005-05-05 16:15:25 -0700 | [diff] [blame] | 1 | /* for use by sys-$SUBARCH/kernel-offsets.c */ |
| 2 | |
Al Viro | ecba97d | 2005-09-28 22:27:23 +0100 | [diff] [blame] | 3 | OFFSET(HOST_TASK_REGS, task_struct, thread.regs); |
| 4 | OFFSET(HOST_TASK_PID, task_struct, pid); |
Al Viro | a31769e | 2005-05-05 16:15:25 -0700 | [diff] [blame] | 5 | DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE); |
| 6 | DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); |
| 7 | DEFINE_STR(UM_KERN_EMERG, KERN_EMERG); |
| 8 | DEFINE_STR(UM_KERN_ALERT, KERN_ALERT); |
| 9 | DEFINE_STR(UM_KERN_CRIT, KERN_CRIT); |
| 10 | DEFINE_STR(UM_KERN_ERR, KERN_ERR); |
| 11 | DEFINE_STR(UM_KERN_WARNING, KERN_WARNING); |
| 12 | DEFINE_STR(UM_KERN_NOTICE, KERN_NOTICE); |
| 13 | DEFINE_STR(UM_KERN_INFO, KERN_INFO); |
| 14 | DEFINE_STR(UM_KERN_DEBUG, KERN_DEBUG); |
Paolo 'Blaisorblade' Giarrusso | 41c79dc | 2005-09-21 18:39:47 +0200 | [diff] [blame] | 15 | DEFINE(UM_ELF_CLASS, ELF_CLASS); |
| 16 | DEFINE(UM_ELFCLASS32, ELFCLASS32); |
| 17 | DEFINE(UM_ELFCLASS64, ELFCLASS64); |