Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-07-13, 06:39 AM   #1
pavlinux
Registered User
 
pavlinux's Avatar
 
Join Date: Feb 2006
Location: Moscow, Russia
Posts: 57
Exclamation [ PATCH ]: 331.20 UVM for Linux 3.12.0


Code:
diff -ur a/nvidia_uvm_common.c b/nvidia_uvm_common.c
--- a/nvidia_uvm_common.c       2013-10-31 04:15:05.000000000 +0400
+++ b/nvidia_uvm_common.c       2013-11-07 00:20:35.000000000 +0400
@@ -324,5 +324,5 @@
 
 module_init(uvm_init);
 module_exit(uvm_exit);
-MODULE_LICENSE("MIT");
+MODULE_LICENSE("GPL");
 MODULE_INFO(supported, "external");
diff -ur a/nvidia_uvm_linux.h b/nvidia_uvm_linux.h
---    a/nvidia_uvm_linux.h        2013-10-31 04:15:06.000000000 +0400
+++ b/nvidia_uvm_linux.h        2013-11-07 00:19:42.000000000 +0400
@@ -390,10 +390,9 @@
 //
 //
 #if defined(NV_TASK_STRUCT_HAS_CRED)
-#define NV_CURRENT_EUID() \
-    (((typeof(*current->cred) __force __kernel *)current->cred)->euid)
+#define NV_CURRENT_EUID()  from_kuid(current_user_ns(), current->cred->euid)
 #else
 #define NV_CURRENT_EUID() (current->euid)
#endif
pavlinux is offline   Reply With Quote
Old 11-09-13, 07:11 PM   #2
sl1pkn07
Registered User
 
Join Date: Nov 2006
Location: Spanishtan
Posts: 103
Default Re: [ PATCH ]: 331.20 UVM for Linux 3.12.0

hi

this patch is for?

build for me without patch in 3.12.0

greetings
sl1pkn07 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:56 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.