Re: [PATCH] 2.4.20-rmap15b - compile failure

From: Rik van Riel (
Date: Fri Dec 13 2002 - 06:30:43 EST

On Fri, 13 Dec 2002, Eyal Lebedinsky wrote:

> I had a failure building NVIDIA_kernel/nv.c (the nvidia driver):
> 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?)?

I'd assume so, but since I don't know exactly what the nvidia
driver does I can't tell you for sure.

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

It should be removed, otherwise some drivers would compile
but silently fail (because pte_offset() wouldn't be the right
choice from the two alternatives.



A: No.
Q: Should I include quotations after my reply?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:28 EST