Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia 260 + >=2.6.38-git4 (smp_lock issue)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
gqman69
n00b
n00b


Joined: 11 Jul 2007
Posts: 50

PostPosted: Fri Mar 18, 2011 9:03 pm    Post subject: nvidia 260 + >=2.6.38-git4 (smp_lock issue) Reply with quote

There's a rogue include which is useless in one of the header files
from the nvidia driver which makes compiling against 2.6.38-git4+ fail.

http://www.nvnews.net/vbulletin/showthread.php?t=160714

Patch:
Code:


--- work/kernel/nv-linux.h      2011-01-18 19:56:20.000000000 -0500
+++ work.diff/kernel/nv-linux.h 2011-03-18 14:14:15.092000623 -0400
@@ -87,7 +87,6 @@
 #if !defined(KERNEL_2_4)
 #include <linux/sched.h>            /* suser(), capable() replacement   */
 #include <linux/moduleparam.h>      /* module_param()                   */
-#include <linux/smp_lock.h>         /* kernel_locked                    */
 #include <asm/tlbflush.h>           /* flush_tlb(), flush_tlb_all()     */
 #include <asm/kmap_types.h>         /* page table entry lookup          */
 #endif

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum