]> err.no Git - linux-2.6/commit
[x86 setup] EDD: Fix the computation of the MBR sector buffer
authorH. Peter Anvin <hpa@zytor.com>
Tue, 31 Jul 2007 20:17:13 +0000 (16:17 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 31 Jul 2007 20:18:05 +0000 (16:18 -0400)
commitff659d13ed91dd0b237064aba91a5259f827aeb3
tree43f73d3d59ece433b3b463ec2c7d36d6a6d85fec
parent8b608d2f5a1b3552363a3161566645a409ff8530
[x86 setup] EDD: Fix the computation of the MBR sector buffer

Some BIOSes require that sector buffers not cross 64K
boundaries.  As a result, we compute a dynamic address on the
setup heap.  Unfortunately, this address computation was just
totally wrong.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/i386/boot/edd.c