Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur ../snf_orig/src/driver/linux/kbuild/mx.c ./src/driver/linux/kbuild/mx.c
- --- ../snf_orig/src/driver/linux/kbuild/mx.c 2020-07-07 20:51:05.000000000 +0600
- +++ ./src/driver/linux/kbuild/mx.c 2020-12-26 20:19:00.268751631 +0600
- @@ -1123,7 +1123,7 @@
- int node_id = -1;
- if (current) {
- -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,3,0)
- +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,18,0)
- cpumap = current->cpus_mask;
- #else
- cpumap = current->cpus_allowed;
- diff -Naur ../snf_orig/src/driver/linux/kbuild/mx_ether.c ./src/driver/linux/kbuild/mx_ether.c
- --- ../snf_orig/src/driver/linux/kbuild/mx_ether.c 2020-07-07 20:51:05.000000000 +0600
- +++ ./src/driver/linux/kbuild/mx_ether.c 2020-12-26 20:19:14.744591405 +0600
- @@ -1647,7 +1647,7 @@
- }
- void
- -mx_ether_timeout(struct net_device *dev)
- +mx_ether_timeout(struct net_device *dev, unsigned int n)
- {
- struct mx_ether *eth = mx_netdev_priv(dev);
- mx_instance_state_t *is;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement