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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-17-11, 03:55 AM   #1
towo|
Registered User
 
Join Date: Feb 2007
Posts: 113
Default heads up bkl removing from linux-2.6

With
http://git.kernel.org/?p=linux/kerne...64d8546e8aefcb

the big kernel lock will be removed fron the linux kernel. The kernel module will fail to build.
Applying the above patch let's build teh module fine against such kernel.

Quote:
--- a/nv-linux.h.orig<->2011-02-28 07:41:12.000000000 +0100
+++ b/nv-linux.h<------>2011-03-17 07:49:16.507709917 +0100
@@ -87,7 +87,9 @@
#if !defined(KERNEL_2_4)
#include <linux/sched.h> /* suser(), capable() replacement */
#include <linux/moduleparam.h> /* module_param() */
+#ifdef CONFIG_KERNEL_LOCK
#include <linux/smp_lock.h> /* kernel_locked */
+#endef
#include <asm/tlbflush.h> /* flush_tlb(), flush_tlb_all() */
#include <asm/kmap_types.h> /* page table entry lookup */
#endif
towo| 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 11:59 AM.


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