aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2015-09-22 11:46:48 -0400
committerKevin O'Connor <kevin@koconnor.net>2015-10-15 10:52:13 -0400
commit1dcf02b06797309676a2915454d1388b8ef0434d (patch)
tree9c1298ea8f5884bbdb6fa9fea178f1b0a77e35a8 /scripts
parent5ba22ab9f56fd1c01fc6cdd3f934e7323894e0f8 (diff)
downloadseabios-1dcf02b06797309676a2915454d1388b8ef0434d.zip
seabios-1dcf02b06797309676a2915454d1388b8ef0434d.tar.gz
seabios-1dcf02b06797309676a2915454d1388b8ef0434d.tar.bz2
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions