Compiling a Device Driver w/ Kbuild: Undefined symbol errors
I am modifying a module which used Kbuild files for compilation. There are a number of kernel functions that I want to take advantage of such as read_swap_cache_async. When I used these functions, I get the following error during compilation:
What I am wondering is:
WARNING: "read_swap_cache_async" [/home/flint/workspace/vm_introspection/kernel/kvm-intel.ko] undefined!
Are these functions supposed to be unavailable to kernel modules?
If not (which I am assuming is the case), what are some possible causes for this error that I can look into?