ACPI: increased acpi DPC thread priority.
* Since the power status outages only happen on load, it's likely that we run some code too late (I haven't looked at the ACPI specs, though). * In any case, I now get wrong results much less often.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009, Vincent Duvert, [email protected]
|
* Copyright 2009, Vincent Duvert, [email protected]
|
||||||
* Copyright 2009, Clemens Zeidler, [email protected]
|
* Copyright 2009, Clemens Zeidler, [email protected]
|
||||||
* Copyright 2008, Axel Dörfler, [email protected].
|
* Copyright 2008-2015, Axel Dörfler, [email protected].
|
||||||
* Copyright 2006, Bryan Varner. All rights reserved.
|
* Copyright 2006, Bryan Varner. All rights reserved.
|
||||||
* Copyright 2005, Nathan Whitehorn. All rights reserved.
|
* Copyright 2005, Nathan Whitehorn. All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -203,7 +203,7 @@ acpi_std_ops(int32 op,...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (gDPC->new_dpc_queue(&gDPCHandle, "acpi_task",
|
if (gDPC->new_dpc_queue(&gDPCHandle, "acpi_task",
|
||||||
B_NORMAL_PRIORITY) != B_OK) {
|
B_URGENT_DISPLAY_PRIORITY + 1) != B_OK) {
|
||||||
ERROR("failed to create os execution queue\n");
|
ERROR("failed to create os execution queue\n");
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user