Changeset 82b72e40 in mainline


Ignore:
Timestamp:
2008-08-31T20:03:01Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6461d286
Parents:
43b7b35
Message:

Prevent 'tmp' in ia32's atomic_lock_arch() from being allocated
to the same register as 'val→count'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/atomic.h

    r43b7b35 r82b72e40  
    114114                "testl %1, %1\n"
    115115                "jnz 0b\n"
    116                 : "+m" (val->count), "=r"(tmp)
     116                : "+m" (val->count), "=&r"(tmp)
    117117        );
    118118        /*
Note: See TracChangeset for help on using the changeset viewer.