I'm building a non-GPL kernel module (non-negotiable) and in order to get timing information everywhere I look here and elsewhere tells me to use the new ktime_* API, but when I build I get this error:
FATAL: modpost: GPL-incompatible module xxx.ko uses GPL-only symbol 'ktime_get'
All the older APIs have been removed from the kernel, so how can I get something more accurate than jiffies?