[Linux-hls-cvs] hls/linux Makefile,1.7,1.8 init.c,1.8,1.9
Status: Pre-Alpha
Brought to you by:
lucabe
|
From: <lu...@us...> - 2003-11-29 11:59:04
|
Update of /cvsroot/linux-hls/hls/linux
In directory sc8-pr-cvs1:/tmp/cvs-serv4847/linux
Modified Files:
Makefile init.c
Log Message:
Fix problem when rmmoving hls_module...
Index: Makefile
===================================================================
RCS file: /cvsroot/linux-hls/hls/linux/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Makefile 29 Nov 2003 09:11:35 -0000 1.7
--- Makefile 29 Nov 2003 11:59:01 -0000 1.8
***************
*** 16,19 ****
--- 16,20 ----
#CPPFLAGS += -DVERBOSE
+ #CPPFLAGS += -D__HARD_PANIC__
SCHED_MOD = hls_sched_res.o hls_sched_ps.o hls_sched_rr.o
Index: init.c
===================================================================
RCS file: /cvsroot/linux-hls/hls/linux/init.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** init.c 29 Nov 2003 09:11:35 -0000 1.8
--- init.c 29 Nov 2003 11:59:01 -0000 1.9
***************
*** 180,186 ****
for_each_task(t) {
if (t->private_data != NULL) {
printk("Removing task %d from HLS\n", t->pid);
if (t->state == TASK_RUNNING) {
! HLSBlockThreadHook(t);
}
HLSExitThreadHook(t);
--- 180,189 ----
for_each_task(t) {
if (t->private_data != NULL) {
+ #ifdef VERBOSE
printk("Removing task %d from HLS\n", t->pid);
+ #endif
+
if (t->state == TASK_RUNNING) {
! hls_block_other_thread(t);
}
HLSExitThreadHook(t);
|