lkml.org 
[lkml]   [2003]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] 2.5.69-mm8 apm.c compile fix
From
Date
Hi,

Needed this SET_MODULE_OWNER fix to compile -mm8.

Regards,

Shane
--- 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);
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.190 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site