[Linux-ia64] unaligned access?

Pereira, D LailaX E
2001-11-28T17:37:51Z

HI
While running the following code,
define WRITE_CAUSED_SIGBUS_or_SEGV \
(((*(unsigned long*)scp->sc_ip)>>21)&1)
....
if (WRITE_CAUSED_SIGBUS_or_SEGV){
........
}
else {
.........
}

I get the following error on the "if " statement:
stress.udp(31438): unaligned access to
0x4000000000003541,ip=0x4000000000015fc1
Please let me know what is wrong with the macro:
define WRITE_CAUSED_SIGBUS_or_SEGV \
(((*(unsigned long*)scp->sc_ip)>>21)&1)

thanks
d'laila