*LOTS* of small changes to make the kernel compatible with Be's KernelExport.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1683 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#define _KERNEL_SMP_H
|
||||
|
||||
#include <stage2.h>
|
||||
#include <KernelExport.h>
|
||||
|
||||
// intercpu messages
|
||||
enum {
|
||||
@@ -35,10 +36,5 @@ int smp_get_num_cpus(void);
|
||||
void smp_set_num_cpus(int num_cpus);
|
||||
int smp_get_current_cpu(void);
|
||||
|
||||
// spinlock functions
|
||||
typedef volatile int spinlock_t;
|
||||
void acquire_spinlock(spinlock_t *lock);
|
||||
void release_spinlock(spinlock_t *lock);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user