summaryrefslogtreecommitdiffstats
path: root/system/nvidia-legacy390-kernel/4.20.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy390-kernel/4.20.patch')
-rw-r--r--system/nvidia-legacy390-kernel/4.20.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/nvidia-legacy390-kernel/4.20.patch b/system/nvidia-legacy390-kernel/4.20.patch
new file mode 100644
index 0000000000..21bea152f1
--- /dev/null
+++ b/system/nvidia-legacy390-kernel/4.20.patch
@@ -0,0 +1,20 @@
+--- a/kernel/nvidia/os-interface.c 2018-11-15 21:56:59.000000000 -0600
++++ b/kernel/nvidia/os-interface.c 2018-11-26 21:53:39.970635906 -0600
+@@ -1670,7 +1670,7 @@
+
+ struct nv_ipmi_softc
+ {
+- ipmi_user_t p_user; // ptr to ipmi_msghandler user structure
++ struct ipmi_user *p_user;
+ spinlock_t msg_lock;
+ struct list_head msgs;
+ NvU32 seqNum; //request sequence number
+@@ -1679,7 +1679,7 @@
+ static inline int
+ nv_ipmi_set_my_address
+ (
+- ipmi_user_t user,
++ struct ipmi_user *user,
+ unsigned char address
+ )
+ {