Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6fc5153aab2a6eb23e636d962e1aceaabd0dfb12
Commit:     6fc5153aab2a6eb23e636d962e1aceaabd0dfb12
Parent:     003c6af6c6370cc3315ab828a0e6618f00713d96
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 17 16:08:49 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 13:19:01 2008 +0900

    sh: Fix up KERNEL_ENTRY calculation for uImage.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/boot/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile
index 4b3a6f1..59f552c 100644
--- a/arch/sh/boot/Makefile
+++ b/arch/sh/boot/Makefile
@@ -38,8 +38,9 @@ KERNEL_LOAD   := $(shell /bin/bash -c 'printf "0x%8x" \
                        $(CONFIG_ZERO_PAGE_OFFSET)]')
 
 KERNEL_ENTRY   := $(shell /bin/bash -c 'printf "0x%8x" \
-                    $$[$(KERNEL_LOAD)+0x1000]')
-
+                    $$[$(CONFIG_PAGE_OFFSET)  + \
+                       $(CONFIG_MEMORY_START) + \
+                       $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]')
 
 quiet_cmd_uimage = UIMAGE  $@
       cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to