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

    r8dbc18c rf429331  
    4747#include <arch/types.h>
    4848
    49 struct cpu_info {
     49typedef struct {
    5050        uint32_t cpuid_eax;
    5151        uint32_t cpuid_ebx;
    5252        uint32_t cpuid_ecx;
    5353        uint32_t cpuid_edx;
    54 } __attribute__ ((packed));
     54} __attribute__ ((packed)) cpu_info_t;
    5555
    5656extern int has_cpuid(void);
Note: See TracChangeset for help on using the changeset viewer.