diff options
author | Jamey Sharp <jamey@thetovacompany.com> | 2008-04-22 16:21:05 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-04-24 11:20:36 +1000 |
commit | bb127e837117314d9c6365110089cded5642d818 (patch) | |
tree | 63b73b9640398b8a1fe34ef1ff7d0b42eeb0ae6c /kexec/arch/sh/kexec-netbsd-sh.c | |
parent | b76efc860bce5649dcc5d3e0f791664f69123553 (diff) |
Fix copy-paste bug: entry16 does not start at entry16_debug.
The entry16 and entry16_debug functions need to compute appropriate 16-bit
segments before dropping to real mode. Each is intended to use its own
entry address as the segment base. However, both were using the entry
address of entry16_debug, causing the code-segment reload to branch to the
wrong place in the non-debug case.
This bug was only visible when running kexec with --real-mode and without
--debug.
Signed-off-by: Jamey Sharp <jamey@thetovacompany.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/sh/kexec-netbsd-sh.c')
0 files changed, 0 insertions, 0 deletions