From: Pauli Nieminen <[email protected]>

This reduces about 100ns runtime for each main loop iteration on ARM.

Signed-off-by: Pauli Nieminen <[email protected]>
---
 hw/xfree86/common/xf86Init.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index ca532ee..9be8755 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -810,8 +810,7 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
   xf86Resetting = FALSE;
   xf86Initialising = FALSE;
 
-  RegisterBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA, xf86Wakeup,
-                                NULL);
+  RegisterWakeupHandler(xf86Wakeup, NULL);
 }
 
 /*
-- 
1.7.0.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to