All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jurriaan on Alpha <thunder7@xs4all.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: compiling cmipci in 2.5.10 on Alpha doesn't work
Date: Fri, 26 Apr 2002 09:44:16 +0200	[thread overview]
Message-ID: <20020426074416.GA8415@alpha.of.nowhere> (raw)
In-Reply-To: <20020426073130.GB28217@alpha.of.nowhere>

From: Jurriaan on Alpha <thunder7@xs4all.nl>
Date: Fri, Apr 26, 2002 at 09:31:30AM +0200
> I tried to compile 2.5.10 on my Alpha, but the cmipci module won't
> compile:
> 
> cmipci.c:2479: warning: implicit declaration of function `release_resource'

Just found out that this trivial patch remedies it:

--- driver.org  Fri Apr 26 09:42:31 2002
+++ driver.h    Fri Apr 26 09:37:04 2002
@@ -50,7 +50,7 @@
  */

 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
-#if defined(__i386__) || defined(__ppc__)
+#if defined(__i386__) || defined(__ppc__) || defined(__alpha__)
 /*
  * Here a dirty hack for 2.4 kernels.. See kernel/memory.c.
  */

As for the why of this, or if it's the best way to solve it, I've no
idea :-)

Jurriaan
-- 
"I resent it as well," said Scharde. "I am working to keep my rage under
control."
        Jack Vance - Ecce and Old Earth
GNU/Linux 2.4.19p7 on Debian/Alpha 990 bogomips load:0.33 0.62 0.54

  reply	other threads:[~2002-04-26  7:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26  7:31 compiling cmipci in 2.5.10 on Alpha doesn't work Jurriaan on Alpha
2002-04-26  7:44 ` Jurriaan on Alpha [this message]
2002-04-26  9:05   ` Ivan Kokshaysky
2002-04-26  9:17     ` Jaroslav Kysela
2002-04-26  9:40       ` Russell King
2002-04-26  9:56         ` Takashi Iwai
2002-04-26 10:18       ` Ivan Kokshaysky
2002-04-26 10:26         ` Jaroslav Kysela
2002-04-26 10:49           ` Ivan Kokshaysky

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=20020426074416.GA8415@alpha.of.nowhere \
    --to=thunder7@xs4all.nl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.