Writing a System Call that Accesses a Kernel Variable -


i have own kernel module has external integer variable:

extern int = 0; 

i want write system call (in separate file) following i:

i = + 1; 

however, because declared in kernel module file , not in system call, won't compile properly. know problem doesn't lie elsewhere because system call "works" fine when contains printk statement or self-contained. how can link variable in kernel module file system call file?


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -