Open xylo04 opened 4 years ago
yes, the sparse_keymap_free function has been removed without replacement, since it is no longer neccesary. (see comment and commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=79ffd5f98c11572c004d52f7ecd270ab680a7f72 ) For recent kernels it can be dropped, the only question is, if support for kernels before the memory management change is desired and how this would be implemented.
For recent kernels it can be dropped
Is that to say that we can simply remove any calls to sparse_keymap_free? I suppose we would ideally have compiler directives to keep the calls in when an older kernel is used, but for now I'd settle for getting my own laptop usable.
@xylo04 yes, that's what I did to get it working for me (see my fork, which I used for now as the target for my Archlinux PKGBUILD ).
This no longer compiles on modern systems because
sparse_keymap_free
has been removed.