Changeset 7f341820 in mainline for kernel/arch/mips32/src/smp/dorder.c


Ignore:
Timestamp:
2009-02-17T14:09:31Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30e2bba
Parents:
85156d3
Message:

mips32: basic SMP support

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/smp/dorder.c

    r85156d3 r7f341820  
    2727 */
    2828
    29 /** @addtogroup mips32 
     29/** @addtogroup mips32
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #include <arch/smp/order.h>
     35#include <arch/smp/dorder.h>
    3636
    37 #define MSIM_ORDER_ADDRESS      0xB0000004
     37#define MSIM_DORDER_ADDRESS  0xB0000004
    3838
    3939void ipi_broadcast_arch(int ipi)
    4040{
    41         *((volatile unsigned int *) MSIM_ORDER_ADDRESS) = 0x7FFFFFFF;
     41#ifdef CONFIG_SMP
     42        *((volatile unsigned int *) MSIM_DORDER_ADDRESS) = 0x7FFFFFFF;
     43#endif
    4244}
    4345
Note: See TracChangeset for help on using the changeset viewer.