Commit c71fd7b7 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT.

parent 285d5fe6
......@@ -111,10 +111,8 @@ extern int pending_atimers;
#define UNBLOCK_INPUT_TO(LEVEL) \
do \
{ \
int oldlevel = interrupt_input_blocked; \
interrupt_input_blocked = (LEVEL) + 1; \
if (interrupt_input_blocked != oldlevel + 1) \
UNBLOCK_INPUT; \
UNBLOCK_INPUT; \
} \
while (0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment