here is a patch to Makefile.kbuild that enables the needed
paravirt_ops features for the 2.6.2x kernels.  note that supposedly
this bug is fixed in 2.6.22 (which will be released "soon"), so this
patch will not be necessary for long.

reference:  http://grizach.sc18.info/nvpatch/

mike


--- modules/nvidia-kernel-legacy-96xx/nv/Makefile.kbuild
2007-06-17 21:05:49.000000000 -0400
+++ Makefile.kbuild     2007-07-08 21:40:59.000000000 -0400
@@ -75,6 +75,9 @@
EXTRA_CFLAGS += -I$(src)
EXTRA_CFLAGS += -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar
-Werror -O -fno-common -msoft-float -MD $(DEFINES) $(INCLUDES)
-Wsign-compare -Wno-cast-qual -Wno-error

+PARAVIRT_OPS := $(shell grep "D paravirt_ops"
/boot/System.map-$(shell uname -r) | colrm 9)
+EXTRA_LDFLAGS := --defsym paravirt_ops=0x$(PARAVIRT_OPS)
+
#
# We rely on these two definitions below; if they aren't set, we set them to
# reasonable defaults (Linux 2.4's KBUILD, and top-level passes will not set


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to