From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199711111914.LAA26094@dm.cobaltmicro.com> Date: Tue, 11 Nov 1997 11:14:57 -0800 From: David S. Miller Subject: Re: DEC PWS433a and 2.1.61VGER don't match... Date: Mon, 10 Nov 1997 21:45:35 +0200 (EET) From: Matti Aarnio I have been wondering, why my test kernels of VGER series have rather consistently failed to boot with AIC7XXX SCSI controller, and today I finally found a small difference between working arch/alpha/kernel/pyxis.c, and failing one (on VGER series): #define vuip volatile unsigned int * Ok: *((vuip)SOME_ADDRESS) = ... Fail: *(viup)SOME_ADDRESS = ... This smells of a GCC bug, but it is very strange. What does CPP pre-processed output of these two cases look like btw? Does any portable way exist for doing this type of architecture specific linkages on modules, or should we just yield, and add things like this on net/ipv6/Makefile: ifeq ($(ARCH),alpha) IPV6_OBJS += ../../arch/alpha/lib/csum_ipv6_magic.o endif No this is horrible. Can we find some other way to deal with this? I really think maybe that csum_ipv6_magic code should be in the other checksum.c code, #ifdef'd out when IPv6 is not compiled in. Would this work? Later, David S. Miller davem@dm.cobaltmicro.com -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com