Re: [PATCH] 2.4.20-rmap15b - compile failure

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Fri, 13 Dec 2002 21:55:38 +1100


I had a failure building NVIDIA_kernel/nv.c (the nvidia driver):
http://download.nvidia.com/XFree86_40/1.0-4191/NVIDIA_kernel-1.0-4191.tar.gz

It uses
pte = *pte_offset(pg_mid_dir, address);
but this patch removes pte_offset().

1) what is the correct fix (use pte_offset_kernel?)?

2) in general, is it wise to remove pte_offset() or should it
be left for compatability?

I should clearly say that I am not familiar with the workings of this
patch, but find that it is likely to break drivers that are not in
the kernel tree (assuming you patch them).

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/