btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / system / libroot / os / arch / ppc / compatibility.c
blob1411ca656024f805f881e7bafdb7faf14549dae4
1 /*
2 * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
6 // This file includes some known R5 syscalls
7 // ToDo: maybe they should indeed do something...
9 #include <SupportDefs.h>
12 int _kset_mon_limit_(int num);
13 int _kset_fd_limit_(int num);
14 int _kget_cpu_state_(int cpuNum);
15 int _kset_cpu_state_(int cpuNum, int state);
18 int
19 _kset_mon_limit_(int num)
21 return B_ERROR;
25 int
26 _kset_fd_limit_(int num)
28 return B_ERROR;
32 int
33 _kget_cpu_state_(int cpuNum)
35 return 1;
39 int
40 _kset_cpu_state_(int cpuNum, int state)
42 return state ? B_OK : B_ERROR;