[haiku-commits] Re: r42413 - in haiku/trunk/src/add-ons: accelerants/radeon kernel/drivers/graphics/radeon

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 12 Jul 2011 12:23:54 +0200

On 2011-07-12 at 09:25:15 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> Ingo Weinhold<ingo_weinhold@xxxxxx> wrote:
> > > + #ifdef __INTEL__
> > >   __asm__ __volatile__ ("lock; addl $0,0(%%esp)": : :"memory");
> > >   #endif
> > __INTEL__ is not defined on x86_64, though. There it is __x86_64__ indeed.
> 
> Ouch, sorry. Is that really on purpose?

Sure. Why would one define the same macro on two different architectures?

CU, Ingo

Other related posts: