Ignore:
Timestamp:
2007-01-22T14:45:07Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
51baa8a
Parents:
726e1043
Message:

typedef elimination

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/spinlock.h

    r726e1043 re71a61d  
    4343
    4444#ifdef CONFIG_SMP
    45 struct spinlock {
     45typedef struct {
    4646#ifdef CONFIG_DEBUG_SPINLOCK
    4747        char *name;
    4848#endif
    4949        atomic_t val;
    50 };
     50} spinlock_t;
    5151
    5252/*
     
    104104#else
    105105
     106typedef void spinlock_t;
     107
    106108/* On UP systems, spinlocks are effectively left out. */
    107109#define SPINLOCK_DECLARE(name)
Note: See TracChangeset for help on using the changeset viewer.