Changeset 7f1c620 in mainline for arch/ia32/include/atomic.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

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

    r991779c5 r7f1c620  
    8484#define atomic_predec(val) (atomic_postdec(val)-1)
    8585
    86 static inline __u32 test_and_set(atomic_t *val) {
    87         __u32 v;
     86static inline uint32_t test_and_set(atomic_t *val) {
     87        uint32_t v;
    8888       
    8989        __asm__ volatile (
     
    9999static inline void atomic_lock_arch(atomic_t *val)
    100100{
    101         __u32 tmp;
     101        uint32_t tmp;
    102102
    103103        preemption_disable();
Note: See TracChangeset for help on using the changeset viewer.