Loading...
--- xnu/xnu-12377.101.15/tests/priority_queue.cpp
+++ xnu/xnu-7195.141.2/tests/priority_queue.cpp
@@ -24,7 +24,7 @@
#include "../osfmk/kern/priority_queue.h"
#include "../libkern/c++/priority_queue.cpp"
-T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true), T_META_TAG_VM_PREFERRED);
+T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true));
static int
compare_numbers_descending(const void * a, const void * b)
@@ -252,7 +252,7 @@
if (c1.stamp != c2.stamp) {
if (c1.modifier) {
/* younger is better */
- return c1.stamp < c2.stamp ? 1 : -1;
+ return c1.stamp < c1.stamp ? 1 : -1;
} else {
/* older is better */
return c1.stamp > c2.stamp ? 1 : -1;