zynq: make screen and cursor kprocs exit properly
This commit is contained in:
parent
0dbbe79116
commit
36d2504adb
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ cursorproc(void *arg)
|
|||
if(waserror()){
|
||||
hwcursor.addr = 0;
|
||||
hwcursor.proc = nil;
|
||||
return;
|
||||
pexit("detached", 1);
|
||||
}
|
||||
|
||||
reg = (u32int*)hwcursor.addr;
|
||||
|
@ -204,7 +204,7 @@ screenproc(void *arg)
|
|||
if(waserror()){
|
||||
fbscreen.addr = 0;
|
||||
fbscreen.proc = nil;
|
||||
return;
|
||||
pexit("detached", 1);
|
||||
}
|
||||
|
||||
for(;;){
|
||||
|
|
Loading…
Reference in a new issue