blob: afabac8495f1ed3280779d4628b0b6fa32ad35c6 [file] [log] [blame] [raw]
#ifndef __SMP_H
#define __SMP_H
#include <asm/spinlock.h>
void smp_init(void);
int cpu_count(void);
int smp_id(void);
void on_cpu(int cpu, void (*function)(void *data), void *data);
void on_cpu_async(int cpu, void (*function)(void *data), void *data);
#endif