lkml.org 
[lkml]   [2014]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] x86: Remove excess calculations for heap_end_ptr
Date
heap_end_ptr default value defined as _end+STACK_SZE-512, but
STACK_SIZE is already 512.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
arch/x86/boot/header.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S
index 16ef025..c69b870 100644
--- a/arch/x86/boot/header.S
+++ b/arch/x86/boot/header.S
@@ -342,7 +342,7 @@ ramdisk_size: .long 0 # its size in bytes
bootsect_kludge:
.long 0 # obsolete

-heap_end_ptr: .word _end+STACK_SIZE-512
+heap_end_ptr: .word _end
# (Header version 0x0201 or later)
# space from here (exclusive) down to
# end of setup code can be used by setup
--
2.2.1.201.gbbcefff


\
 
 \ /
  Last update: 2014-12-26 14:01    [W:0.027 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site