aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-05-01 12:29:05 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-05-01 12:29:05 -0400
commit4e492c03dbe0a29fd21569fe6c1295c73f1f403f (patch)
treed843c17d8a9f7a7bb726d8d04b5bbf4653a7cc7e /include
parent7d9d731677836b9e8e71271f8dd01bb35ab62062 (diff)
FMLP: rename pi->fmlp
pi is confusing, there are many PI schemes in the world. We implement the FMLP, thus we should label it as such.
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/unistd_32.h6
-rw-r--r--include/litmus/fdso.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-x86/unistd_32.h b/include/asm-x86/unistd_32.h
index dbd936a38d..d2bc5e56b0 100644
--- a/include/asm-x86/unistd_32.h
+++ b/include/asm-x86/unistd_32.h
@@ -337,8 +337,8 @@
337#define __NR_exit_np 329 337#define __NR_exit_np 329
338#define __NR_od_open 330 338#define __NR_od_open 330
339#define __NR_od_close 331 339#define __NR_od_close 331
340#define __NR_pi_down 332 340#define __NR_fmlp_down 332
341#define __NR_pi_up 333 341#define __NR_fmlp_up 333
342#define __NR_srp_down 334 342#define __NR_srp_down 334
343#define __NR_srp_up 335 343#define __NR_srp_up 335
344#define __NR_reg_task_srp_sem 336 344#define __NR_reg_task_srp_sem 336
@@ -349,7 +349,7 @@
349 349
350#ifdef __KERNEL__ 350#ifdef __KERNEL__
351 351
352#define NR_syscalls 339 352#define NR_syscalls 340
353 353
354#define __ARCH_WANT_IPC_PARSE_VERSION 354#define __ARCH_WANT_IPC_PARSE_VERSION
355#define __ARCH_WANT_OLD_READDIR 355#define __ARCH_WANT_OLD_READDIR
diff --git a/include/litmus/fdso.h b/include/litmus/fdso.h
index 5a783555e7..286e10f86d 100644
--- a/include/litmus/fdso.h
+++ b/include/litmus/fdso.h
@@ -16,7 +16,7 @@
16typedef enum { 16typedef enum {
17 MIN_OBJ_TYPE = 0, 17 MIN_OBJ_TYPE = 0,
18 18
19 PI_SEM = 0, 19 FMLP_SEM = 0,
20 SRP_SEM = 1, 20 SRP_SEM = 1,
21 21
22 MAX_OBJ_TYPE = 1 22 MAX_OBJ_TYPE = 1
@@ -61,7 +61,7 @@ static inline void* od_lookup(int od, obj_type_t type)
61 return e && e->obj->type == type ? e->obj->obj : NULL; 61 return e && e->obj->type == type ? e->obj->obj : NULL;
62} 62}
63 63
64#define lookup_pi_sem(od) ((struct pi_semaphore*) od_lookup(od, PI_SEM)) 64#define lookup_fmlp_sem(od)((struct pi_semaphore*) od_lookup(od, FMLP_SEM))
65#define lookup_srp_sem(od) ((struct srp_semaphore*) od_lookup(od, SRP_SEM)) 65#define lookup_srp_sem(od) ((struct srp_semaphore*) od_lookup(od, SRP_SEM))
66#define lookup_ics(od) ((struct ics*) od_lookup(od, ICS_ID)) 66#define lookup_ics(od) ((struct ics*) od_lookup(od, ICS_ID))
67 67