[S390] nss: add missing .previous statement to asm function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 9, 2010 - 11:59 am

Gitweb:     http://git.kernel.org/linus/187644636ea79aa4bdc04757ebca919c4fd546e0
Commit:     187644636ea79aa4bdc04757ebca919c4fd546e0
Parent:     7d3f661e5757e84f1fb2e10093cfa2f7b057bc2f
Author:     Heiko Carstens <heiko.carstens@de.ibm.com>
AuthorDate: Fri Apr 9 13:43:03 2010 +0200
Committer:  Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
CommitDate: Fri Apr 9 13:43:02 2010 +0200

    [S390] nss: add missing .previous statement to asm function
    
    The savesys_ipl_nss asm function is put into the .init.text section
    however it is missing a ".previous" section which would restore the
    previous section.
    Luckily all functions in early.c are init functions so it doesn't
    matter currently.
    
    Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
 arch/s390/kernel/early.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c
index 31d618a..2d92c2c 100644
--- a/arch/s390/kernel/early.c
+++ b/arch/s390/kernel/early.c
@@ -82,7 +82,8 @@ asm(
 	"	lm	6,15,24(15)\n"
 #endif
 	"	br	14\n"
-	"	.size	savesys_ipl_nss, .-savesys_ipl_nss\n");
+	"	.size	savesys_ipl_nss, .-savesys_ipl_nss\n"
+	"	.previous\n");
 
 static __initdata char upper_command_line[COMMAND_LINE_SIZE];
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[S390] nss: add missing .previous statement to asm function, Linux Kernel Mailing ..., (Fri Apr 9, 11:59 am)