]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] correct address of _stext with CONFIG_SHARED_KERNEL=y
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 12 May 2010 07:32:13 +0000 (09:32 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 12 May 2010 07:32:26 +0000 (09:32 +0200)
commit9f17edcdb7d9b0251dc5d60eefe0fd614405b0cc
treedd679b37b7112c5dc8de3aa60c900533f4ea7376
parentcae981a4976992d54f2fe7f88427d2ff0175cfc0
[S390] correct address of _stext with CONFIG_SHARED_KERNEL=y

As of git commit 3e9d3ca633a129f3e64d12944a1567718e69f069 head64.S/head31.S
are not included in head.S anymore but build as an extra object. This breaks
shared kernel support because the .org statement in head64.S/head31.S for
CONFIG_SHARED_KERNEL=y will have a different effect. The end address of the
head.text section in head.o will be added to the .org value, to compensate
for this subtract 0x11000 to get the required value of 0x100000 again.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/head31.S
arch/s390/kernel/head64.S