[][src]Function x86_64::align_up

pub fn align_up(addr: u64, align: u64) -> u64

Align address upwards.

Returns the smallest x with alignment align so that x >= addr. The alignment must be a power of 2.