Changeset 762a824 in mainline for arch/ppc32/include/cpuid.h


Ignore:
Timestamp:
2006-05-01T14:44:37Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
16dad032
Parents:
0f27b4c
Message:

ppc32: proper exception handling from user-space
code cleanup

File:
1 edited

Legend:

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

    r0f27b4c r762a824  
    3939static inline void cpu_version(struct cpu_info *info)
    4040{
    41         __asm__ volatile (
    42                 "mfspr %0, 287\n"
     41        asm volatile (
     42                "mfpvr %0\n"
    4343                : "=r" (*info)
    4444        );
Note: See TracChangeset for help on using the changeset viewer.