summaryrefslogtreecommitdiff
path: root/mbr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-06-11 17:19:52 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-06-11 17:19:52 -0700
commit5bc3c2cf4bc0edd52af33737b15416d021822d51 (patch)
treed44340e7f126ae6e3ead571bf881b4ee472e3673 /mbr
parentd4c1eecb7c6e37432ba9ef0624e29129d9b8be24 (diff)
downloadsyslinux-5bc3c2cf4bc0edd52af33737b15416d021822d51.tar.gz
gptmbr: fix offset for MSW of partition end
Fix the offset for the MSW of the partition endpoint. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'mbr')
-rw-r--r--mbr/gptmbr.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index 20741acb..42887dbd 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------
*
* Copyright 2007-2009 H. Peter Anvin - All Rights Reserved
- * Copyright 2009 Intel Corporation; author: H. Peter Anvin
+ * Copyright 2009-2010 Intel Corporation; author: H. Peter Anvin
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
@@ -190,7 +190,7 @@ found_part:
call saturate_stosl /* Partition start */
movl 40(%si),%eax
- movl 48(%si),%edx
+ movl 44(%si),%edx
subl 32(%si),%eax
sbbl 36(%si),%edx
call inc64