fixed resource managr bug occurring in mixed SC/DC systems

This commit is contained in:
Jeff Hill
1996-06-19 20:52:04 +00:00
parent 8f299a1d80
commit 9ea7fc6dd1
+16 -14
View File
@@ -1449,6 +1449,22 @@ VXIE *pvxie
return;
}
/*
* find out how many DC devices are in the system
* and there worst case (blocked address) alignment
*/
status = vxi_count_dc_devices(
pvxie,
&nDC,
&maxInBlockedDC);
if (status) {
return;
}
if(nDC < 1){
return;
}
/*
* if unanchored force them to all be in one
* contiguous block
@@ -1456,20 +1472,6 @@ VXIE *pvxie
prealloc = FALSE;
if(!pvxie->la_mapped){
/*
* find out how many DC devices are in the system
* and there worst case (blocked address) alignment
*/
status = vxi_count_dc_devices(
pvxie,
&nDC,
&maxInBlockedDC);
if(status){
return;
}
if(nDC < 1){
return;
}
/*
* allocate with worst case (blocked address) alignment
*/