*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:
lillo
2002-10-26 16:13:36 +00:00
parent 23d36867f6
commit 5cdacbaabb
39 changed files with 97 additions and 140 deletions
+1 -5
View File
@@ -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