Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360111
b: refs/heads/master
c: 535237c
h: refs/heads/master
i:
  360109: 6fa0044
  360107: 4c5f6e2
  360103: e88e576
  360095: b490f98
v: v3
  • Loading branch information
John Crispin committed Feb 19, 2013
1 parent 119b426 commit e9e593f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df1cc3da2134bc10e6edc62709013a10e03e4106
refs/heads/master: 535237cecab2b078114be712c67e89a0db61965f
15 changes: 3 additions & 12 deletions trunk/arch/mips/kernel/vpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,18 +697,7 @@ static int vpe_run(struct vpe * v)
dmt_flag = dmt();
vpeflags = dvpe();

if (!list_empty(&v->tc)) {
if ((t = list_entry(v->tc.next, struct tc, tc)) == NULL) {
evpe(vpeflags);
emt(dmt_flag);
local_irq_restore(flags);

printk(KERN_WARNING
"VPE loader: TC %d is already in use.\n",
v->tc->index);
return -ENOEXEC;
}
} else {
if (list_empty(&v->tc)) {
evpe(vpeflags);
emt(dmt_flag);
local_irq_restore(flags);
Expand All @@ -720,6 +709,8 @@ static int vpe_run(struct vpe * v)
return -ENOEXEC;
}

t = list_first_entry(&v->tc, struct tc, tc);

/* Put MVPE's into 'configuration state' */
set_c0_mvpcontrol(MVPCONTROL_VPC);

Expand Down

0 comments on commit e9e593f

Please sign in to comment.