/************************************************ hello_syscall.c 5/19/00 Jeff Ondich Source for a hello-world system call. Note that linkage.h is needed for the "asmlinkage" modifier, and kernel.h is needed for printk. ************************************************/ #include #include asmlinkage int sys_jondich_hello( void ) { printk( "The kernel says 'hi'\n" ); return( 1 ); }