Merge zizzer:/bk/newmem
into zed.eecs.umich.edu:/z/hsul/work/sparc/x86.m5 --HG-- extra : convert_revision : 62a0017a1147631513db7878f4e4d08fca776bc1
This commit is contained in:
commit
17cbfe55fd
1 changed files with 5 additions and 2 deletions
|
@ -67,8 +67,11 @@ enum interrupts_t {
|
|||
{
|
||||
if (int_type < 0 || int_type >= num_interrupt_types)
|
||||
panic("posting unknown interrupt!\n");
|
||||
interrupts[int_type] = true;
|
||||
++numPosted;
|
||||
|
||||
if (interrupts[int_type] == false) {
|
||||
interrupts[int_type] = true;
|
||||
++numPosted;
|
||||
}
|
||||
}
|
||||
|
||||
void post(int int_num, int index)
|
||||
|
|
Loading…
Reference in a new issue