This commit is contained in:
Ciro Santilli
2017-06-21 11:32:12 +01:00
parent f5130eeb5f
commit cdd0535227
3 changed files with 31 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
/poll.sh
Outcome: user echoes jiffies every second.
https://stackoverflow.com/questions/30035776/how-to-add-poll-function-to-the-kernel-module-code/44645336#44645336
*/
#include <asm/uaccess.h> /* copy_from_user, copy_to_user */