Summary: | x11-drivers/nvidia-drivers-1.0.8776 doesn't compile against kernel 2.6.20 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | fredrik danerklint <fredan-gentoo-bugs> |
Component: | New packages | Assignee: | X11 External Driver Maintainers <x11-drivers> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | betelgeuse, brebs, markphipps |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 163825 | ||
Attachments: | patch to allow nvidia-*-drivers to compile against kernel 2.6.20 |
Description
fredrik danerklint
2007-02-23 13:14:46 UTC
Created attachment 111041 [details, diff]
patch to allow nvidia-*-drivers to compile against kernel 2.6.20
This patch is *not* needed with git-sources-2.6.20-r14, because SA_SHIRQ etc. are still defined. fredrik, which version are you using? Can you post the full compile error? I haven't had any problems with nvidia drivers or 2.6.21_rc1 so more info is required. (In reply to comment #3) > fredrik, which version are you using? Can you post the full compile error? > x11-drivers/nvidia-drivers-1.0.8776 and Linux athlon 2.6.20-rt8 #3 PREEMPT Sat Mar 3 18:00:56 CET 2007 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux (In reply to comment #4) > I haven't had any problems with nvidia drivers or 2.6.21_rc1 so more info is > required. > this neeeds to be fixed for all the old drivers! I don't think that the new drivers have this problem since nvidia has probably fixed it, but the old ones have. fredrik, please reproduce this with a vanilla or gentoo-sources 2.6.20 kernel, and post the full compile error. (In reply to comment #6) == SNIP from interrupt.h in Kernel 2.6.20.3 == /* * Migration helpers. Scheduled for removal in 1/2007 * Do not use for new code ! */ #define SA_INTERRUPT IRQF_DISABLED #define SA_SAMPLE_RANDOM IRQF_SAMPLE_RANDOM #define SA_SHIRQ IRQF_SHARED #define SA_PROBEIRQ IRQF_PROBE_SHARED #define SA_PERCPU IRQF_PERCPU okey, it seems that Ingo Molnar's Realtime-patch takes this out from interrupt.h. However, when they _DO_ take them out, nv.c will still need to be patched. Try 1.0.9631 and see if that works for you, please. 1.0.9639 works just fine here. |