Thus wrote Karol Kozimor: > > It appears that the asus_acpi driver has the same issue, as it was > > derived from mine. > While I think it doesn't oops (at least I can't reproduce it), it doesn't > work either when CONFIG_X86_4G=y. I'll have a fix later on. The attached patches introduce copy_from_user() where appropriate. I only tested this code with 2.6.5-rc1-mm2, where it worked both with and without CONFIG_X86_4G. For 2.4, compile-test only. Note: I'm not sure if the 2.4 version is needed, there's no CONFIG_X86_4G there. Does a highmem-enabled kernel need such a conversion? I can't really test those changes reliably having only 256 MB RAM, but at least those changes don't seem to do any harm. Please apply if you feel so. Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org