shithub: riscv

Download patch

ref: f3032eb9536fef95fc35a58a6831540b6ffe0893
parent: 190e28550909a167e938d4fee578a01d7a34f5e1
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Sep 3 13:30:58 EDT 2022

zynq: correctly specify dolock flag to postnote()

--- a/sys/src/9/zynq/screen.c
+++ b/sys/src/9/zynq/screen.c
@@ -155,7 +155,7 @@
 			incref(s);
 		}
 		if(hwcursor.proc != nil){
-			postnote(hwcursor.proc, 0, "die", NUser);
+			postnote(hwcursor.proc, 1, "die", NUser);
 			while(hwcursor.proc != nil)
 				sched();
 		}
@@ -271,7 +271,7 @@
 			incref(s);
 		}
 		if(fbscreen.proc != nil){
-			postnote(fbscreen.proc, 0, "die", NUser);
+			postnote(fbscreen.proc, 1, "die", NUser);
 			while(fbscreen.proc != nil)
 				sched();
 		}