Subject: Re: insque
To: Miles Nordin <carton@Ivy.NET>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 02/18/2000 10:24:48
On Thu, 17 Feb 2000 23:00:19 -0700 (MST)
Miles Nordin <carton@Ivy.NET> wrote:
> What's the deal with insque? After a build failure on macppc, I did:
It should die. horribly.
> cd /usr/src/sys && find . -type f | xargs grep insque
>
> and learned that insque (or rather, _insque) is defined by:
> ./arch/alpha/alpha/support.c
> ./arch/arm32/arm32/stubs.c
> ./arch/i386/i386/machdep.c
> ./arch/m68k/m68k/support.s
> ./arch/mips/mips/locore.S
> ./arch/pc532/pc532/machdep.c
> ./arch/sparc/sparc/locore.s
> ./arch/sparc64/sparc64/locore.s
> ./arch/vax/include/macros.h
> ./arch/sh3/sh3/sh3_machdep.c
>
> and used by:
> ./coda/
> ./netccitt/
> ./netiso/
> ./netns/
All of these places should be changed to use the macros provided in
sys/queue.h.
> So, needless to say I was able to build macppc after turning off some
> fairly noncritical stuff. But why is this MD function not implemented
> across the board? AFAICT *ppc and pc532 are the only arch's without it.
It's only an MD function because, on the VAX, it was/is an *instruction*.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>