Adding a system call with a kernel module(LKM)
<p>So I have seen a bunch of questions about adding system calls but I can't find any examples of one using an LKM that works. I have found resources like this: <a href="http://tldp.org/LDP/lkmpg/2.6/html/" rel="nofollow">http://tldp.org/LDP/lkmpg/2.6/html/</a> 
This works, in theory, but doesnt compile. Can anyone point me towards a simple example for adding a hello world system call or something. Something like this: <a href="https://tssurya.wordpress.com/2014/08/19/adding-a-hello-world-system-call-to-linux-kernel-3-16-0/" rel="nofollow">https://tssurya.wordpress.com/2014/08/19/adding-a-hello-world-system-call-to-linux-kernel-3-16-0/</a> that doesn't require me to recompile my kernel? </p>