From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: David Hammerton <dhammerton@labyrinth.net.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel 2.4-test10: new wrapper.h brakes drivers
Date: Sat, 04 Nov 2000 03:39:39 -0500 [thread overview]
Message-ID: <3A03CB4B.20183FED@mandrakesoft.com> (raw)
In-Reply-To: <200011040827.TAA14095@mr14.vic-remote.bigpond.net.au>
David Hammerton wrote:
>
> Hi,
>
> i just installed the latest kernel (2.4-test10).
>
> On recompilation of my "Nvidia" kernel drivers (for geforce 2 3d video support
> in linux), it failed linking to "mem_map_inc_count" (and dec_count).
>
> Im not much of a programmer, but to get it working all i had to do was to add
> to '/usr/src/linux/include/linux/wrapper.h':
> /*the patch*/
> #define mem_map_inc_count(p) atomic_inc(&(p->count))
> #define mem_map_dec_count(p) atomic_dec(&(p->count))
> /*end patch*/
>
> yes, you'll notice i ripped this out of the older kernels..
>
> good luck in finding an alternative, or just leave it in, or whatever.
if the nvidia kernel shell needs to support multiple kernel versions,
they should add
#ifndef mem_map_inc_count
...compat code...
#endif
--
Jeff Garzik | Dinner is ready when
Building 1024 | the smoke alarm goes off.
MandrakeSoft | -/usr/games/fortune
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2000-11-04 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-04 8:27 David Hammerton
2000-11-04 8:39 ` Jeff Garzik [this message]
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=3A03CB4B.20183FED@mandrakesoft.com \
--to=jgarzik@mandrakesoft.com \
--cc=dhammerton@labyrinth.net.au \
--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®