diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-02-03 09:51:57 -0500 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-02-03 21:55:58 -0500 |
| commit | 8a1912c177e978574250cf80f8a50edf7424b158 (patch) | |
| tree | 23b05f63d1a47ef01667a90703f0b0661f37e969 /src/syscalls.c | |
| parent | 1c21007bbcb62829b12dc7271fdbc183c4ca1aa2 (diff) | |
Re-implement non-preemptive section support.
Layered on top of the LITMUS control page.
Diffstat (limited to 'src/syscalls.c')
| -rw-r--r-- | src/syscalls.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/syscalls.c b/src/syscalls.c index 1df2ac3..77a6277 100644 --- a/src/syscalls.c +++ b/src/syscalls.c | |||
| @@ -31,18 +31,6 @@ int sleep_next_period(void) | |||
| 31 | return syscall(__NR_complete_job); | 31 | return syscall(__NR_complete_job); |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | #ifdef false | ||
| 35 | int register_np_flag(struct np_flag *flag) | ||
| 36 | { | ||
| 37 | return syscall(__NR_register_np_flag, flag); | ||
| 38 | } | ||
| 39 | |||
| 40 | int signal_exit_np(void) | ||
| 41 | { | ||
| 42 | return syscall(__NR_exit_np); | ||
| 43 | } | ||
| 44 | #endif | ||
| 45 | |||
| 46 | int od_openx(int fd, obj_type_t type, int obj_id, void *config) | 34 | int od_openx(int fd, obj_type_t type, int obj_id, void *config) |
| 47 | { | 35 | { |
| 48 | return syscall(__NR_od_open, fd, type, obj_id, config); | 36 | return syscall(__NR_od_open, fd, type, obj_id, config); |
