Re: asm-i386/uaccess.h changes: bug or feature?

From: Brian Gerst (bgerst@didntduck.org)
Date: Wed Oct 04 2000 - 14:24:46 EST


Wes McRae wrote:
>
> Hello----
>
> Background: compiling lm_sensors 2.5.2 on RedHat 7.0 running 2.4.0-test8
> kernel. (vanilla intel system)
>
> Attempting to compile the sensor package gave symbol errors regarding
> the xxx_ret symbols (copying to/from user space, putting/getting. These
> have been removed from uaccess.h in recent kernels. These were present
> in 2.2.16 and at least some 2.3.x kernels. As you can see from the
> appended diff, these appear to be the only changes. I tend to assume
> there's a reason, but could find no explanation in the kernel docs for
> it.
>
> For what it's worth, I could still compile the application--just not
> load its modules.
>
> Many apologies if this is not the right place to send this--it seemed
> the most likely place after checking MAINTAINERS and REPORTING-BUGS.

These macros were removed. Just replace the usage with the appropriate
if statement. See this thread for the reason:
http://marc.theaimsgroup.com/?l=linux-kernel&m=96721877032003&w=2

--

Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:14 EST