Now includes arch_config.h instead of arch_cpu.h (because the info contained therein has moved).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8901 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-09-10 15:20:37 +00:00
parent c2d416e259
commit 327981c3d8
2 changed files with 11 additions and 5 deletions

View File

@ -17,7 +17,7 @@
#include <sem.h>
#include <port.h>
#include <cpu.h>
#include <arch/cpu.h>
#include <arch_config.h>
#include <sys/resource.h>
#include <fd.h>
#include <fs/node_monitor.h>

View File

@ -1,14 +1,17 @@
/*
** Copyright 2003, Marcus Overhagen. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
** Distributed under the terms of the Haiku License.
*/
#include <SupportDefs.h>
#include <arch_cpu.h>
#include <arch_config.h>
#include <syscalls.h>
#ifdef ATOMIC_FUNCS_ARE_SYSCALLS
int32
atomic_set(vint32 *value, int32 newValue)
{
@ -44,9 +47,11 @@ atomic_get(vint32 *value)
{
return _kern_atomic_get(value);
}
#endif
#endif /* ATOMIC_FUNCS_ARE_SYSCALLS */
#ifdef ATOMIC64_FUNCS_ARE_SYSCALLS
int64
atomic_set64(vint64 *value, int64 newValue)
{
@ -82,4 +87,5 @@ atomic_get64(vint64 *value)
{
return _kern_atomic_get64(value);
}
#endif
#endif /* ATOMIC64_FUNCS_ARE_SYSCALLS */