On Fri, 18 May 2018, Kirill A. Shutemov wrote: > Hugh noticied that I calculate address of trampoline page table wrongly > in cleanup_trampoline(). TRAMPOLINE_32BIT_PGTABLE_OFFSET has to be > divided by sizeof(unsigned long) since trampoline_32bit is unsigned long > pointer. > > TRAMPOLINE_32BIT_PGTABLE_OFFSET is zero so the bug doesn't have a > visible effect. > > Signed-off-by: Kirill A. Shutemov <[email protected]> > Reported-by: Hugh Dickins <[email protected]> > Fixes: e9d0e6330eb8 ("x86/boot/compressed/64: Prepare new top-level page > table for trampoline")
Reviewed-by: Thomas Gleixner <[email protected]>

