Fixes TAILQ usage in arsc.c
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 20 Apr 2012 20:24:21 +0000 (13:24 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 23 Apr 2012 23:03:27 +0000 (16:03 -0700)
kern/src/arsc.c

index 533e65d..fd53427 100644 (file)
@@ -68,7 +68,7 @@ void arsc_server(struct trapframe *tf)
                while (TAILQ_EMPTY(&arsc_proc_list))
                        cpu_relax();
                
                while (TAILQ_EMPTY(&arsc_proc_list))
                        cpu_relax();
                
-               TAILQ_FOREACH(p, &arsc_proc_list, proc_link) {
+               TAILQ_FOREACH(p, &arsc_proc_list, proc_arsc_link) {
                        /* Probably want to try to process a dying process's syscalls.  If
                         * not, just move it to an else case */
                        process_generic_syscalls (p, MAX_ASRC_BATCH); 
                        /* Probably want to try to process a dying process's syscalls.  If
                         * not, just move it to an else case */
                        process_generic_syscalls (p, MAX_ASRC_BATCH);