Skip to content

Commit

Permalink
[S390] nss: add missing .previous statement to asm function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Apr 9, 2010
1 parent 7d3f661 commit 1876446
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/s390/kernel/early.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 1876446

Please sign in to comment.