diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-15 22:32:15 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-15 22:32:15 +0200 |
commit | 584caf6d1c6b44ce2f19c95581b7c6f134e2ba59 (patch) | |
tree | 40c1404a4dff292d2954933fffb0aea1d1813ac4 /sys/src/9/zynq | |
parent | 13a79fbb72ca203efec5be16e32e4d7a91620281 (diff) |
zynq: remove unused PTE typedef
all the mmu code uses ulong, so get rid of the typeded.
Diffstat (limited to 'sys/src/9/zynq')
-rw-r--r-- | sys/src/9/zynq/dat.h | 1 | ||||
-rw-r--r-- | sys/src/9/zynq/mmu.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/9/zynq/dat.h b/sys/src/9/zynq/dat.h index 01cba862c..2d3e681a7 100644 --- a/sys/src/9/zynq/dat.h +++ b/sys/src/9/zynq/dat.h @@ -11,7 +11,6 @@ typedef struct Notsave Notsave; 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; diff --git a/sys/src/9/zynq/mmu.c b/sys/src/9/zynq/mmu.c index 14f915759..d9d9e7cc1 100644 --- a/sys/src/9/zynq/mmu.c +++ b/sys/src/9/zynq/mmu.c @@ -141,7 +141,7 @@ putmmu(uintptr va, uintptr pa, Page *pg) Page *p; ulong *e; ulong *l2; - PTE old; + ulong old; uintptr l2p; int s; |