lkml.org 
[lkml]   [2009]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] x86: clear TS in irq_ts_save() when in an atomic section

* Chuck Ebbert <cebbert@redhat.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


\
 
 \ /
  Last update: 2009-06-09 16:25    [W:0.058 / U:4.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site