• Russell King's avatar
    [PATCH] set_task_state() UP memory barriers · 891c9d56
    Russell King authored
    This fixes the UP set_task_state and set_current_state in 2.5.43 to
    ensure that we don't re-order loads around the store for setting
    task->state.
    
    This patch is from Nicolas Pitre, nico@cam.org
    
    (As a side note - 2.4.10 also contains the same problem, but 2.2
    contain the memory barrier.)
    891c9d56
system.h 2.24 KB