Subject: Re: bswap16(v); in bus_space.c
To: None <port-mac68k@NetBSD.org>
From: John Klos <john@ziaspace.com>
List: port-mac68k
Date: 09/14/2006 11:15:43
> In netbsd-4, in mac68k/mac68k/bus_space.c, bswap16(v); on line 418, I'm 
> guessing, gets reduced to nothing, and gcc complains:
>
>        v = mac68k_bsrs2_gen(t, h, offset);
>        if (h->swapped) {
>                bswap16(v);
>        }

I forgot to mention that I'm using gcc 4 to build a kernel natively on 
netbsd-4 on mac68k.

John