shithub: riscv

Download patch

ref: 0a7a71752573286fc1dc8057c285e87480a640cc
parent: 277913c94afb787ce74f0659b96cda303f9cd787
author: ftrvxmtrx <[email protected]>
date: Sat Oct 15 19:42:22 EDT 2016

scram: remove _PTS(5). it just doesn't make any sense

--- a/sys/src/cmd/scram.c
+++ b/sys/src/cmd/scram.c
@@ -153,9 +153,6 @@
 	if(loadacpi() < 0)
 		goto fail;
 
-	/* prepare for sleep */
-	amleval(amlwalk(amlroot, "_PTS"), "i", 5, nil);
-
 	/* disable GPEs */
 	for(n = 0; GPE0_BLK > 0 && n < GPE0_BLK_LEN/2; n += 2){
 		outw(GPE0_BLK + GPE0_BLK_LEN/2 + n, 0); /* EN */