Remove/fix unused stuff and other warnings
This commit is contained in:
@ -229,7 +229,7 @@ void intr_handleintr(IntrStackFrame *frame) {
|
||||
default:
|
||||
IntrHandler *ih, *ihtmp;
|
||||
LL_FOREACH_SAFE(INTR_HANDLERS, ih, ihtmp) {
|
||||
if (ih->irq == frame->trapnum) {
|
||||
if ((uint64_t)ih->irq == frame->trapnum) {
|
||||
ih->fn();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user