Hi all, I would know how to declare a pointer to an asmlinkage function. I want to use a structure like that: struct { int my_var; void (*my_function)(void); /* this will be an asmlinkage function pointer */ } my_struct; with my_function like: asmlinkage void my_function(void); and it's implementation in asm: ENTRY(my_asmfunction) ..... ret And i want to call this function like: my_struct.my_function = &my_asmfunction; ... my_struct.my_function(); But how does the compiler know that this call is to be done with "asmlinkage" (regparm(...)) technique? Thanks in advance, Christian. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/