[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090609142254.GC32703@elte.hu>
Date: Tue, 9 Jun 2009 16:22:54 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Chuck Ebbert <cebbert@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Suresh Siddha <suresh.b.siddha@...el.com>,
linux-kernel@...r.kernel.org
Subject: Re: [patch] x86: clear TS in irq_ts_save() when in an atomic
section
* Chuck Ebbert <cebbert@...hat.com> wrote:
> - if (!in_interrupt())
> + if (!in_atomic() && !in_interrupt())
> return 0;
since in_interrupt() implies in_atomic() (upstream), why not just
do:
if (!in_atomic())
return 0;
?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists