commit | 1dcf02b06797309676a2915454d1388b8ef0434d | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Tue Sep 22 11:46:48 2015 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Oct 15 10:52:13 2015 -0400 |
tree | 9c1298ea8f5884bbdb6fa9fea178f1b0a77e35a8 | |
parent | 5ba22ab9f56fd1c01fc6cdd3f934e7323894e0f8 [diff] |
virtio: Simplify vring alignment code Don't do phys_to_virt(virt_to_phys(vaddr)) for page alignment - page alignment can be determined directly from the virtual address. Use the ALIGN() macro to make the code more readable. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>