aboutsummaryrefslogtreecommitdiff
path: root/kernel/irq-as.S
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-02-11 17:13:26 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-02-11 17:13:26 -0500
commite3305e8f7c119c83fd04f1995e07ff71a1110887 (patch)
treef95921215c215a60d80b1be068b2cccd72459ee2 /kernel/irq-as.S
parent90fda5287e3dae56508a4b31e1bc4e29cd83e377 (diff)
downloadkappa-e3305e8f7c119c83fd04f1995e07ff71a1110887.zip
kappa-e3305e8f7c119c83fd04f1995e07ff71a1110887.tar.gz
kappa-e3305e8f7c119c83fd04f1995e07ff71a1110887.tar.bz2
kappa-e3305e8f7c119c83fd04f1995e07ff71a1110887.tar.xz
optimize interrupt performance
Diffstat (limited to 'kernel/irq-as.S')
-rw-r--r--kernel/irq-as.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq-as.S b/kernel/irq-as.S
index 8840299..b2c0004 100644
--- a/kernel/irq-as.S
+++ b/kernel/irq-as.S
@@ -12,7 +12,7 @@ irq_stub:
mov %ax, %es
mov %ax, %fs
mov %ax, %gs
- mov %esp, %eax
+ mov %esp, %eax # push the stack
push %eax
mov $irq_handler, %eax
call *%eax