I'd like to build my kernel modules for centos 7 kernels. But I have problem with some function prototype. It's different in kernel-3.10.0-327.36.3.el7 and kernel-3.10.0-514.el7. I know how to use Linux Kernel Version Macro Definition. But I need to check kernel Patch Version and linux directory name.
Some body know preprocessor macro for checking kernel's patch version?