Changeset 0e24857 in mainline for arch/mips32/src/fpu_context.c


Ignore:
Timestamp:
2006-03-12T08:40:19Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b22e1db
Parents:
9faddb3
Message:

Macro redefinition for mips fpu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/fpu_context.c

    r9faddb3 r0e24857  
    3535void fpu_disable(void)
    3636{       
    37 #ifdef HAVE_FPU
     37#ifdef ARCH_HAS_FPU
    3838        cp0_status_write(cp0_status_read() & ~cp0_status_fpu_bit);
    3939        if (THREAD && THREAD->pstate)
     
    4444void fpu_enable(void)
    4545{
    46 #ifdef HAVE_FPU
     46#ifdef ARCH_HAS_FPU
    4747        cp0_status_write(cp0_status_read() | cp0_status_fpu_bit);
    4848        if (THREAD && THREAD->pstate)
Note: See TracChangeset for help on using the changeset viewer.