public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Porting driver from x86
@ 2005-02-10 13:11 Eric Desjardins
  2005-02-10 15:05 ` Eric Desjardins
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Desjardins @ 2005-02-10 13:11 UTC (permalink / raw)
  To: linux-ia64

Hi,

I'm not to familiar with kernel code but I'm trying to port a kernel
driver from x86 to ia64.

I was just wondering how should I translate that:

static int interrupts_blocked()
{
   unsigned long flags = 0;
                                                                                                        
   __save_flags(flags);
  
   return (flags & X86_EFLAGS_IF) =
0;                                                                                                 
}

Thanks for any help I can get...

Eric


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

end of thread, other threads:[~2005-02-10 16:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10 13:11 Porting driver from x86 Eric Desjardins
2005-02-10 15:05 ` Eric Desjardins
2005-02-10 15:06 ` Matthew Wilcox
2005-02-10 16:34 ` Eric Desjardins
2005-02-10 16:41 ` Matthew Wilcox

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