mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shane Shrybman <shrybman@sympatico.ca>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@digeo.com>
Subject: [PATCH] 2.5.69-mm8 apm.c compile fix
Date: 22 May 2003 19:51:17 -0400	[thread overview]
Message-ID: <1053647477.2471.3.camel@mars.goatskin.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]

Hi,

Needed this SET_MODULE_OWNER fix to compile -mm8.

Regards,

Shane

[-- Attachment #2: 2.5.69-mm8.apm.diff --]
[-- Type: text/x-diff, Size: 397 bytes --]

--- 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);
 

                 reply	other threads:[~2003-05-22 23:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1053647477.2471.3.camel@mars.goatskin.org \
    --to=shrybman@sympatico.ca \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®