Defining Global Variables in the kernel
A very noob question I'm sure, but after searching the forums I was unable to find results. I have made a few new system calls, but in order to get them working properly I need to create a few variables that are global to the kernel, so I can modify then in my system calls and change values in other kernel files, such as, sched.c and fork.c. In which file would I declare these globals? I have been trying many different solutions for a while now and nothing seems to work / compile. Any help would be greatly appreciated.