linux/arch/s390/boot/compressed
Chen Gang fbf87dff67 s390/sclp: fix declaration of _sclp_print_early()
_sclp_print_early() has return value: at present, return 0 for OK, 1 for
failure. It returns '%r2', so use 'long' as return value (upper caller
can check '%r2' directly). The related warning:

    CC      arch/s390/boot/compressed/misc.o
  arch/s390/boot/compressed/misc.c:66:8: warning: type defaults to 'int' in declaration of '_sclp_print_early' [-Wimplicit-int]
   extern _sclp_print_early(const char *);
          ^

At present, _sclp_print_early() is only used by puts(), so can still
remain its declaration in 'misc.c' file.

[heiko.carstens@de.ibm.com]: move declaration to sclp.h header file

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-01-08 10:02:51 +01:00
..
.gitignore s390: add various .gitignore files. 2012-05-16 14:42:41 +02:00
head31.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
head64.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
Makefile s390/boot: fix boot of compressed kernel built with gcc 4.9 2014-05-27 10:26:04 +02:00
misc.c s390/sclp: fix declaration of _sclp_print_early() 2015-01-08 10:02:51 +01:00
vmlinux.lds.S s390: fix linker script for 31 bit builds 2012-10-18 17:50:10 +02:00
vmlinux.scr