2012-05-03 09:15:55 +00:00
|
|
|
Index: kernel/fiasco/src/kern/task.cpp
|
|
|
|
===================================================================
|
2012-09-05 12:28:37 +00:00
|
|
|
--- kernel/fiasco/src/kern/task.cpp (revision 40)
|
2012-05-03 09:15:55 +00:00
|
|
|
+++ kernel/fiasco/src/kern/task.cpp (working copy)
|
2012-09-05 12:28:37 +00:00
|
|
|
@@ -488,10 +488,12 @@
|
2012-05-29 08:15:42 +00:00
|
|
|
if (obj_a.special() || obj_b.special())
|
|
|
|
return commit_result(obj_a.special_cap() == obj_b.special_cap());
|
|
|
|
|
2012-09-05 12:28:37 +00:00
|
|
|
- Obj_space::Capability c_a = lookup(obj_a.cap());
|
|
|
|
- Obj_space::Capability c_b = lookup(obj_b.cap());
|
|
|
|
+ Kobject_iface* ki_a = lookup(obj_a.cap()).obj();
|
|
|
|
+ Kobject_iface* ki_b = lookup(obj_b.cap()).obj();
|
2012-05-29 08:15:42 +00:00
|
|
|
+ Address a_a = ki_a ? ki_a->kobject_start_addr() : 0;
|
|
|
|
+ Address a_b = ki_b ? ki_b->kobject_start_addr() : 0;
|
2012-05-03 09:15:55 +00:00
|
|
|
|
|
|
|
- return commit_result(c_a == c_b);
|
2012-05-29 08:15:42 +00:00
|
|
|
+ return commit_result(a_a == a_b);
|
2012-05-03 09:15:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
PRIVATE inline NOEXPORT
|