Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102845867
D43691.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
862 B
Referenced Files
None
Subscribers
None
D43691.diff
View Options
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -4322,12 +4322,12 @@
int rid, struct resource *r)
{
struct resource_map map;
-#ifdef INVARIANTS_XXX
+#ifdef INVARIANTS
struct rman *rm;
#endif
int error;
-#ifdef INVARIANTS_XXX
+#ifdef INVARIANTS
rm = BUS_GET_RMAN(dev, type, rman_get_flags(r));
KASSERT(rman_is_region_manager(r, rm),
("%s: rman %p doesn't match for resource %p", __func__, rm, r));
@@ -4361,12 +4361,12 @@
int rid, struct resource *r)
{
struct resource_map map;
-#ifdef INVARIANTS_XXX
+#ifdef INVARIANTS
struct rman *rm;
#endif
int error;
-#ifdef INVARIANTS_XXX
+#ifdef INVARIANTS
rm = BUS_GET_RMAN(dev, type, rman_get_flags(r));
KASSERT(rman_is_region_manager(r, rm),
("%s: rman %p doesn't match for resource %p", __func__, rm, r));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 10:30 PM (21 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14705801
Default Alt Text
D43691.diff (862 B)
Attached To
Mode
D43691: Revert "new-bus: Disable assertions for rman mismatches for activate/deactivate"
Attached
Detach File
Event Timeline
Log In to Comment