]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/um/sys-x86_64/util/mk_thread_user.c
7989725568b8dfeee345cc66a836e33baed9cb02
6 printf(" * Generated by mk_thread\n");
9 printf("#ifndef __UM_THREAD_H\n");
10 printf("#define __UM_THREAD_H\n");
14 void print_constant_ptr(char *name
, int value
)
16 printf("#define %s(task) ((unsigned long *) "
17 "&(((char *) (task))[%d]))\n", name
, value
);
20 void print_constant(char *name
, char *type
, int value
)
22 printf("#define %s(task) *((%s *) &(((char *) (task))[%d]))\n", name
, type
,