lkml.org 
[lkml]   [1998]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: cli/sti in char/vt.c [patch]
    Date
    > Don't think so. Well, it is safe on i386, but on other architectures,
    > test_and_set_bit is not guaranteed to be atomic. [And I'm afraid that
    > this code is used on non-i386 but similar hw around machines?]

    It needs to be and is by definition atomic.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu

    \
     
     \ /
      Last update: 2005-03-22 13:42    [W:2.978 / U:0.316 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site