projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f5c2d91
)
Remove unsued code in kern/kern_intr.c
author
Sepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 8 Jul 2009 03:35:07 +0000 (11:35 +0800)
committer
Sepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 11 Jul 2009 02:27:13 +0000 (10:27 +0800)
sys/kern/kern_intr.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/kern/kern_intr.c
b/sys/kern/kern_intr.c
index
fd67df4
..
acc8651
100644
(file)
--- a/
sys/kern/kern_intr.c
+++ b/
sys/kern/kern_intr.c
@@
-676,25
+676,6
@@
ithread_fast_handler(struct intrframe *frame)
return(must_schedule);
}
-#if 0
-
-6: ; \
- /* could not get the MP lock, forward the interrupt */ \
- movl mp_lock, %eax ; /* check race */ \
- cmpl $MP_FREE_LOCK,%eax ; \
- je 2b ; \
- incl PCPU(cnt)+V_FORWARDED_INTS ; \
- subl $12,%esp ; \
- movl $irq_num,8(%esp) ; \
- movl $forward_fastint_remote,4(%esp) ; \
- movl %eax,(%esp) ; \
- call lwkt_send_ipiq_bycpu ; \
- addl $12,%esp ; \
- jmp 5f ;
-
-#endif
-
-
/*
* Interrupt threads run this as their main loop.
*