git: 9front

Download patch

ref: f4791b89d62694a019fd2edad98b86d509fc983d
parent: 48a942e71dc2036fac702ecc57822e4561841d4c
author: ftrvxmtrx <ftrvxmtrx@gmail.com>
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 */
--