git: 9front

Download patch

ref: fd924c5ec8d6b1c614e1eb6a976b357d3abbfcbb
parent: a1e0e4989e3fa79ca0f8919f561a639e598cdb77
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jun 15 18:32:15 EDT 2015

zynq: remove unused PTE typedef

all the mmu code uses ulong, so get rid of the typeded.

--- a/sys/src/9/zynq/dat.h
+++ b/sys/src/9/zynq/dat.h
@@ -11,7 +11,6 @@
 typedef struct Page	Page;
 typedef struct Proc	Proc;
 typedef struct PMMU	PMMU;
-typedef u32int		PTE;
 typedef struct Ureg	Ureg;
 typedef struct ISAConf	ISAConf;
 typedef uvlong		Tval;
--- a/sys/src/9/zynq/mmu.c
+++ b/sys/src/9/zynq/mmu.c
@@ -141,7 +141,7 @@
 	Page *p;
 	ulong *e;
 	ulong *l2;
-	PTE old;
+	ulong old;
 	uintptr l2p;
 	int s;
 
--