Changeset f429331 in mainline for kernel/arch/ppc32/include/cpuid.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/ppc32/include/cpuid.h

    r8dbc18c rf429331  
    3838#include <arch/types.h>
    3939
    40 struct cpu_info {
     40typedef struct {
    4141        uint16_t version;
    4242        uint16_t revision;
    43 } __attribute__ ((packed));
     43} __attribute__ ((packed)) cpu_info_t;
    4444
    45 static inline void cpu_version(struct cpu_info *info)
     45static inline void cpu_version(cpu_info_t *info)
    4646{
    4747        asm volatile (
Note: See TracChangeset for help on using the changeset viewer.