Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45809
b: refs/heads/master
c: 9cfdf6f
h: refs/heads/master
i:
  45807: 8a7f277
v: v3
  • Loading branch information
Ralf Baechle committed Jan 24, 2007
1 parent 641b603 commit 80a7574
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 80aac59ed5b3e5ae2132bc620ff5607929c6a304
refs/heads/master: 9cfdf6f15a2a462b6b328b4c60b252cfc04ec03e
9 changes: 5 additions & 4 deletions trunk/arch/mips/kernel/vpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,16 @@ struct tc {
struct list_head list;
};

struct vpecontrol_ {
struct {
/* Virtual processing elements */
struct list_head vpe_list;

/* Thread contexts */
struct list_head tc_list;
} vpecontrol;
} vpecontrol = {
.vpe_list = LIST_HEAD_INIT(vpecontrol.vpe_list),
.tc_list = LIST_HEAD_INIT(vpecontrol.tc_list)
};

static void release_progmem(void *ptr);
/* static __attribute_used__ void dump_vpe(struct vpe * v); */
Expand Down Expand Up @@ -1388,8 +1391,6 @@ static int __init vpe_module_init(void)

/* dump_mtregs(); */

INIT_LIST_HEAD(&vpecontrol.vpe_list);
INIT_LIST_HEAD(&vpecontrol.tc_list);

val = read_c0_mvpconf0();
for (i = 0; i < ((val & MVPCONF0_PTC) + 1); i++) {
Expand Down

0 comments on commit 80a7574

Please sign in to comment.