X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_list.h;h=0d8747e9efae39befdf303878a271f7380cbd0f3;hb=cafbc1318c847b8c18e2036dc56be7af7acefa4e;hp=83b880d6739f690a94b3601cd722772194f9e50e;hpb=a1e0475bbefa968791679c5e71232ddca522868b;p=palacios.git diff --git a/palacios/include/palacios/vmm_list.h b/palacios/include/palacios/vmm_list.h index 83b880d..0d8747e 100644 --- a/palacios/include/palacios/vmm_list.h +++ b/palacios/include/palacios/vmm_list.h @@ -1,8 +1,12 @@ +/* Stolen From Linux list implementation */ +/* 2008, Modifications by Jack Lange */ + + #ifndef _VMM_LIST_H #define _VMM_LIST_H -// JRL FIXME -// #ifdef __V3VEE__ + +#ifdef __V3VEE__ #include @@ -15,7 +19,7 @@ (type *)( (char *)__mptr - offsetof(type,member) );}) -static inline void prefetch(const void *x) {;} +static inline void prefetch(const void *x) {const void * foo; foo = x;} /* * These are non-NULL pointers that will result in page faults @@ -528,7 +532,7 @@ static inline void hlist_add_after(struct hlist_node *n, pos = n) -// JRL FIXME -//#endif // ! __V3VEE__ + +#endif // ! __V3VEE__ #endif