aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/boot/compressed/misc.c3
-rw-r--r--arch/s390/include/asm/sclp.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/s390/boot/compressed/misc.c b/arch/s390/boot/compressed/misc.c
index 57cbaff1f397..42506b371b74 100644
--- a/arch/s390/boot/compressed/misc.c
+++ b/arch/s390/boot/compressed/misc.c
@@ -8,6 +8,7 @@
8 8
9#include <asm/uaccess.h> 9#include <asm/uaccess.h>
10#include <asm/page.h> 10#include <asm/page.h>
11#include <asm/sclp.h>
11#include <asm/ipl.h> 12#include <asm/ipl.h>
12#include "sizes.h" 13#include "sizes.h"
13 14
@@ -63,8 +64,6 @@ static unsigned long free_mem_end_ptr;
63#include "../../../../lib/decompress_unxz.c" 64#include "../../../../lib/decompress_unxz.c"
64#endif 65#endif
65 66
66extern _sclp_print_early(const char *);
67
68static int puts(const char *s) 67static int puts(const char *s)
69{ 68{
70 _sclp_print_early(s); 69 _sclp_print_early(s);
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h
index 1aba89b53cb9..b6f8066789c1 100644
--- a/arch/s390/include/asm/sclp.h
+++ b/arch/s390/include/asm/sclp.h
@@ -68,4 +68,6 @@ void sclp_early_detect(void);
68int sclp_has_siif(void); 68int sclp_has_siif(void);
69unsigned int sclp_get_ibc(void); 69unsigned int sclp_get_ibc(void);
70 70
71long _sclp_print_early(const char *);
72
71#endif /* _ASM_S390_SCLP_H */ 73#endif /* _ASM_S390_SCLP_H */