aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/mouse.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-02 01:27:36 +0200
committerMarvin Borner2021-04-02 01:27:36 +0200
commit192b756a6999a0637fcc72f3fd2f9f7099e32543 (patch)
treef936c42baeb54c8aebd0fc0ac0cb56f9dcf3c96c /kernel/drivers/mouse.c
parentafa00abb2b68205bee539d7947130d6b1b1ec6e9 (diff)
Huge scheduling/proc-management improvements
Diffstat (limited to 'kernel/drivers/mouse.c')
-rw-r--r--kernel/drivers/mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/mouse.c b/kernel/drivers/mouse.c
index ad36cc4..db0d2fb 100644
--- a/kernel/drivers/mouse.c
+++ b/kernel/drivers/mouse.c
@@ -47,7 +47,7 @@ static void mouse_handler(struct regs *r)
event->but3 = (mouse_byte[0] >> 2) & 1;
stack_push_bot(queue, event);
mouse_cycle = 0;
- proc_enable_waiting(dev_id, PROC_WAIT_DEV);
+ proc_unblock(dev_id, PROC_BLOCK_DEV);
break;
default:
break;