Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 151177
Collapse All | Expand All

(-)NVIDIA-Linux-x86_64-1.0-9625-pkg2/usr/src/nv/nv-linux.h (-2 / +3 lines)
Lines 14-23 Link Here
14
14
15
#include "nv.h"
15
#include "nv.h"
16
16
17
#include <linux/config.h>
18
#include <linux/version.h>
17
#include <linux/version.h>
19
#include <linux/utsname.h>
18
#include <linux/utsname.h>
20
19
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 15)
20
#include <linux/config.h>
21
#endif
21
22
22
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
23
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
23
#  error This driver does not support 2.4 kernels older than 2.4.7!
24
#  error This driver does not support 2.4 kernels older than 2.4.7!
(-)NVIDIA-Linux-x86_64-1.0-9625-pkg2/usr/src/nv/nv.c (-2 / +8 lines)
Lines 288-294 int nv_kern_ioctl(struct inode Link Here
288
long          nv_kern_unlocked_ioctl(struct file *, unsigned int, unsigned long);
288
long          nv_kern_unlocked_ioctl(struct file *, unsigned int, unsigned long);
289
long          nv_kern_compat_ioctl(struct file *, unsigned int, unsigned long);
289
long          nv_kern_compat_ioctl(struct file *, unsigned int, unsigned long);
290
void          nv_kern_isr_bh(unsigned long);
290
void          nv_kern_isr_bh(unsigned long);
291
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
291
irqreturn_t   nv_kern_isr(int, void *, struct pt_regs *);
292
irqreturn_t   nv_kern_isr(int, void *, struct pt_regs *);
293
#else
294
irqreturn_t   nv_kern_isr(int, void *);
295
#endif
292
void          nv_kern_rc_timer(unsigned long);
296
void          nv_kern_rc_timer(unsigned long);
293
#if defined(NV_PM_SUPPORT_OLD_STYLE_APM)
297
#if defined(NV_PM_SUPPORT_OLD_STYLE_APM)
294
static int    nv_kern_apm_event(struct pm_dev *, pm_request_t, void *);
298
static int    nv_kern_apm_event(struct pm_dev *, pm_request_t, void *);
Lines 2595-2602 long nv_kern_compat_ioctl( Link Here
2595
 */
2599
 */
2596
irqreturn_t nv_kern_isr(
2600
irqreturn_t nv_kern_isr(
2597
    int   irq,
2601
    int   irq,
2598
    void *arg,
2602
    void *arg
2599
    struct pt_regs *regs
2603
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
2604
	, struct pt_regs *regs
2605
#endif
2600
)
2606
)
2601
{
2607
{
2602
    nv_linux_state_t *nvl = (void *) arg;
2608
    nv_linux_state_t *nvl = (void *) arg;

Return to bug 151177