Linux 2.6.25
[linux-2.6/s3c2410-cpufreq.git] / arch / um / include / common-offsets.h
blobb54bd35585c2d7c306dd6e6def01c2d958dc9d2b
1 /* for use by sys-$SUBARCH/kernel-offsets.c */
3 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
5 OFFSET(HOST_TASK_REGS, task_struct, thread.regs);
6 OFFSET(HOST_TASK_PID, task_struct, pid);
8 DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
9 DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);
10 DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT);
11 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
13 DEFINE_STR(UM_KERN_EMERG, KERN_EMERG);
14 DEFINE_STR(UM_KERN_ALERT, KERN_ALERT);
15 DEFINE_STR(UM_KERN_CRIT, KERN_CRIT);
16 DEFINE_STR(UM_KERN_ERR, KERN_ERR);
17 DEFINE_STR(UM_KERN_WARNING, KERN_WARNING);
18 DEFINE_STR(UM_KERN_NOTICE, KERN_NOTICE);
19 DEFINE_STR(UM_KERN_INFO, KERN_INFO);
20 DEFINE_STR(UM_KERN_DEBUG, KERN_DEBUG);
21 DEFINE_STR(UM_KERN_CONT, KERN_CONT);
23 DEFINE(UM_ELF_CLASS, ELF_CLASS);
24 DEFINE(UM_ELFCLASS32, ELFCLASS32);
25 DEFINE(UM_ELFCLASS64, ELFCLASS64);
27 DEFINE(UM_NR_CPUS, NR_CPUS);
29 DEFINE(UM_GFP_KERNEL, GFP_KERNEL);
30 DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC);
32 /* For crypto assembler code. */
33 DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx));
35 DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
37 DEFINE(UM_HZ, HZ);
39 DEFINE(UM_USEC_PER_SEC, USEC_PER_SEC);
40 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
41 DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC);