Changeset d71331b in mainline for kernel/generic/src/smp/smp_call.c


Ignore:
Timestamp:
2012-07-01T20:54:53Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f8c11f
Parents:
2ee1ccc
Message:

smp_call: Moved content of arch header to generic header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/smp/smp_call.c

    r2ee1ccc rd71331b  
    66#include <arch/barrier.h>
    77#include <arch/asm.h>  /* interrupt_disable */
    8 #include <arch/smp/smp_call.h>
    9 
    108
    119
     
    5755 * If @a cpu_id is the local CPU, the function will be invoked
    5856 * directly.
     57 *
     58 * Interrupts must be enabled. Otherwise you run the risk
     59 * of a deadlock.
    5960 *
    6061 * @param cpu_id Destination CPU's logical id (eg CPU->id)
     
    105106/** Waits for a function invoked on another CPU asynchronously to complete.
    106107 *
     108 * Does not sleep but rather spins.
     109 *
    107110 * Example usage:
    108111 * @code
     
    123126        call_wait(call_info);
    124127}
     128
     129#ifdef CONFIG_SMP
    125130
    126131/** Architecture independent smp call IPI handler.
     
    152157}
    153158
     159#endif /* CONFIG_SMP */
    154160
    155161static void call_start(smp_call_t *call_info, smp_call_func_t func, void *arg)
     
    194200
    195201
    196 /*
    197 void smp_broadcast_call(smp_call_func_t func, void *arg)
    198 {
    199 }
    200 */
    201 
Note: See TracChangeset for help on using the changeset viewer.