Changeset d2ab461 in mainline for arch/ppc32/include/atomic.h


Ignore:
Timestamp:
2006-03-22T22:25:28Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2802767
Parents:
d71007e
Message:

Small atomic #include and typedef changes.

File:
1 edited

Legend:

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

    rd71007e rd2ab461  
    3030#define __ppc32_ATOMIC_H__
    3131
    32 #include <arch/types.h>
    33 #include <typedefs.h>
    34 
    3532static inline void atomic_inc(atomic_t *val)
    3633{
    37         __u32 tmp;
     34        long tmp;
    3835
    3936        asm __volatile__ (
     
    5047static inline void atomic_dec(atomic_t *val)
    5148{
    52         __u32 tmp;
     49        long tmp;
    5350
    5451        asm __volatile__(
Note: See TracChangeset for help on using the changeset viewer.