public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] unaligned access?
@ 2001-11-28 17:37 Pereira, D LailaX E
  2001-11-28 17:47 ` Dan Pop
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Pereira, D LailaX E @ 2001-11-28 17:37 UTC (permalink / raw)
  To: linux-ia64

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-11-28 19:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-28 17:37 [Linux-ia64] unaligned access? Pereira, D LailaX E
2001-11-28 17:47 ` Dan Pop
2001-11-28 17:56 ` Pereira, D LailaX E
2001-11-28 17:57 ` n0ano
2001-11-28 18:25 ` David Mosberger
2001-11-28 19:18 ` Dan Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox