|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: Use 64-bit arithmetic in reserve_in_
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1182348512 -3600
# Node ID 499bab040137bcd78c81b3f8255ffdf93108c146
# Parent 3624ba0caccc49011f73de90272a3b28e8a9ef43
x86: Use 64-bit arithmetic in reserve_in_boot_e820().
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/setup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 3624ba0caccc -r 499bab040137 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c Wed Jun 20 15:06:17 2007 +0100
+++ b/xen/arch/x86/setup.c Wed Jun 20 15:08:32 2007 +0100
@@ -295,14 +295,14 @@ static struct e820map __initdata boot_e8
/* Reserve area (@s,@e) in the temporary bootstrap e820 map. */
static void __init reserve_in_boot_e820(unsigned long s, unsigned long e)
{
- unsigned long rs, re;
+ uint64_t rs, re;
int i;
for ( i = 0; i < boot_e820.nr_map; i++ )
{
/* Have we found the e820 region that includes the specified range? */
rs = boot_e820.map[i].addr;
- re = boot_e820.map[i].addr + boot_e820.map[i].size;
+ re = rs + boot_e820.map[i].size;
if ( (s < rs) || (e > re) )
continue;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: Use 64-bit arithmetic in reserve_in_boot_e820().,
Xen patchbot-unstable <=
|
|
|
|
|