mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-18 16:56:14 +02:00
m1/perf/sched.c: fixed compilation with DEBUG enabled
This commit is contained in:
parent
60cf6f5e9a
commit
e34e8ebb16
@ -271,7 +271,7 @@ static void put_reg(int vm_reg)
|
||||
if (--sc->regs[vm_idx].refs)
|
||||
return;
|
||||
|
||||
Dprintf(" free reg %d\n", regs[vm_idx].pfpu_reg);
|
||||
Dprintf(" free reg %d\n", sc->regs[vm_idx].pfpu_reg);
|
||||
|
||||
#ifdef REG_STATS
|
||||
assert(sc->curr_regs);
|
||||
@ -448,7 +448,7 @@ static void issue(struct insn *insn, int cycle, unsigned *code)
|
||||
ref->insn->earliest = end+1;
|
||||
assert(ref->insn->unresolved);
|
||||
if (!--ref->insn->unresolved) {
|
||||
Dprintf(" unlocked %lu -> %u\n", ref->insn-insns,
|
||||
Dprintf(" unlocked %lu -> %u\n", ref->insn-sc->insns,
|
||||
ref->insn->earliest);
|
||||
list_del(&ref->insn->more);
|
||||
list_add_tail(sc->ready+ref->insn->earliest,
|
||||
|
Loading…
Reference in New Issue
Block a user