commit | d223246ef7e6d73c8e3d9b58f27f2eb3fe95e25d | [log] [tgz] |
---|---|---|
author | Anders Kaseorg <andersk@ksplice.com> | Wed Sep 16 16:44:26 2009 -0400 |
committer | H. Peter Anvin <hpa@zytor.com> | Fri Sep 18 10:21:45 2009 -0700 |
tree | 7d2d5d3ed0825fe2a832369af55ca76b71afee97 | |
parent | daf7b9c9216e2b82e4c14b7248a85286dab021c3 [diff] |
x86: fix fragile computation of vsyscall address Previously, the address of the vsyscall page (VSYSCALL_PHYS_ADDR, VSYSCALL_VIRT_ADDR) was computed by arithmetic on the address of the last section. This leads to bugs when new sections are inserted, such as the one fixed by commit d312ceda567ab91acd756cde95ac5fbc6b40ed40. Let's compute it from the current address instead. Signed-off-by: Anders Kaseorg <andersk@ksplice.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>