code: plan9front

Download patch

ref: 584caf6d1c6b44ce2f19c95581b7c6f134e2ba59
parent: 13a79fbb72ca203efec5be16e32e4d7a91620281
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;