[parisc-linux] ld: Unsatisfied symbols

willy@thepuffingroup.com willy@thepuffingroup.com
Wed, 9 Feb 2000 10:59:06 -0500


On Tue, Feb 08, 2000 at 10:05:07PM -0800, Grant Grundler wrote:
> uts_sem (data)
> 	include/linux/utsname.h: extern struct rw_semaphore uts_sem;
> 	kernel/ksyms.c: EXPORT_SYMBOL(uts_sem);          /* UTS semaphore */
> 	kernel/sys.c:  DECLARE_RWSEM(uts_sem);
> 
> 	Seems like another SOM kluge is needed.
> 	Or "DECLARE_RWSEM()" needs to be hacked for SOM.
> 	If someone knows where such "data" kluges are collected,
> 	please either fix it or let me know so we can keep such kluges
> 	all in one place.

nono, this isn't linker magic (for once :-).  It's how to declare a
read-write semaphore (C doesn't have constructors, so you do it manually).
I'll do a silly-C version for now and someone can work on an efficient
assembler version of it later.

> up_read
> up_write
> down_read
> down_write
> 	We seem to need them in asm-parisc/semaphore.h.
> 	I gather this is some form of R/W semaphore.
> 	Anyone who knows more is encouraged to make it happen.

exactly.

thanks for fixing the pci stuff.