[PATCH 07/11] xfree86: Don't register empty block handler
Pauli
ext-pauli.nieminen at nokia.com
Fri Dec 31 09:31:05 PST 2010
From: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
This reduces about 100ns runtime for each main loop iteration on ARM.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
---
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 a1fda54..9dac5f5 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -787,8 +787,7 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
xf86Resetting = FALSE;
xf86Initialising = FALSE;
- RegisterBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA, xf86Wakeup,
- NULL);
+ RegisterWakeupHandler(xf86Wakeup, NULL);
}
/*
--
1.7.0.4
More information about the xorg-devel
mailing list