diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-02-11 18:08:03 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-02-11 18:08:03 +0100 |
commit | d6e0e9c402e215dc5659ad525e3e652501f76810 (patch) | |
tree | d3157154f97516235da7c473e962b3410be46359 /sys/src/9/omap/mmu.c | |
parent | debb786fea3d6ea8018c3d83cdedfdbff0703441 (diff) |
kernel: move devether and wifi to port/
the only architecture dependence of devether was enabling interrupts,
which is now done at the end of the driver's reset() function now.
the wifi stack and dummy ethersink also go to port/.
do the IRQ2->IRQ9 hack for pc kernels in intrenabale(), so not
every caller of intrenable() has to be aware of it.
Diffstat (limited to 'sys/src/9/omap/mmu.c')
-rw-r--r-- | sys/src/9/omap/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/omap/mmu.c b/sys/src/9/omap/mmu.c index b24d00249..9b2084caf 100644 --- a/sys/src/9/omap/mmu.c +++ b/sys/src/9/omap/mmu.c @@ -439,7 +439,7 @@ vmap(uintptr pa, usize size) o = pa & (BY2PG-1); pa -= o; size += o; - size = ROUNDUP(size, BY2PG); + size = PGROUND(size); va = kseg0|pa; pae = mmukmap(va, pa, size); |