mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel 2.4-test10: new wrapper.h brakes drivers
@ 2000-11-04  8:27 David Hammerton
  2000-11-04  8:39 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: David Hammerton @ 2000-11-04  8:27 UTC (permalink / raw)
  To: linux-kernel

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.

cheers

David
-
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-04  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-04  8:27 kernel 2.4-test10: new wrapper.h brakes drivers David Hammerton
2000-11-04  8:39 ` Jeff Garzik

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®