[PATCH] 2.5.69-mm8 apm.c compile fix

Shane Shrybman (shrybman@sympatico.ca)
22 May 2003 19:51:17 -0400


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-13371-1053647552-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Hi,

Needed this SET_MODULE_OWNER fix to compile -mm8.

Regards,

Shane

--=_courier-13371-1053647552-0001-2
Content-Type: text/x-diff; name="2.5.69-mm8.apm.diff"; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=2.5.69-mm8.apm.diff

--- linux-2.5.69-mm8/arch/i386/kernel/apm.c.orig Thu May 22 19:28:12 2003
+++ linux-2.5.69-mm8/arch/i386/kernel/apm.c Thu May 22 19:45:11 2003
@@ -1998,7 +1998,7 @@

apm_proc = create_proc_info_entry("apm", 0, NULL, apm_get_info);
if (apm_proc)
- SET_MODULE_OWNER(apm_proc);
+ apm_proc->owner = THIS_MODULE;

kernel_thread(apm, NULL, CLONE_FS | CLONE_FILES | CLONE_SIGHAND | SIGCHLD);

--=_courier-13371-1053647552-0001-2--