Changeset f429331 in mainline for kernel/arch/sparc64/include/cpu.h


Ignore:
Timestamp:
2007-01-21T18:52:11Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
da1f9dc
Parents:
8dbc18c
Message:

remove some typedefs in favor of anonymous structures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/cpu.h

    r8dbc18c rf429331  
    5252#define IMPL_SPARC64V           0x5
    5353
    54 struct cpu_arch {
     54typedef struct {
    5555        uint32_t mid;                   /**< Processor ID as read from UPA_CONFIG. */
    5656        ver_reg_t ver;
    5757        uint32_t clock_frequency;       /**< Processor frequency in Hz. */
    5858        uint64_t next_tick_cmpr;        /**< Next clock interrupt should be
    59                                          *   generated when the TICK register
    60                                          *   matches this value.
    61                                          */
    62 };
     59                                                                         generated when the TICK register
     60                                                                         matches this value. */
     61} cpu_arch_t;
    6362       
    6463#endif
Note: See TracChangeset for help on using the changeset viewer.