aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2013-11-13 04:38:27 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-11-15 08:08:41 -0500
commit7b50da53f6ad2048241bef232bfc22a132a40283 (patch)
treed8cdf310a750de86e63c4831de2fa22affa350b4 /arch
parentacf6a004e6a35dad17032e3b7c5a046c29957e65 (diff)
s390/sclp: Consolidate early sclp init calls to sclp_early_detect()
The new function calls the old ones. The sclp_event_mask_early() is removed and replaced by one invocation of sclp_set_event_mask(0, 0). Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/sclp.h3
-rw-r--r--arch/s390/kernel/early.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h
index 593069201bb9..30ef748bc161 100644
--- a/arch/s390/include/asm/sclp.h
+++ b/arch/s390/include/asm/sclp.h
@@ -43,7 +43,6 @@ struct sclp_cpu_info {
43int sclp_get_cpu_info(struct sclp_cpu_info *info); 43int sclp_get_cpu_info(struct sclp_cpu_info *info);
44int sclp_cpu_configure(u8 cpu); 44int sclp_cpu_configure(u8 cpu);
45int sclp_cpu_deconfigure(u8 cpu); 45int sclp_cpu_deconfigure(u8 cpu);
46void sclp_facilities_detect(void);
47unsigned long long sclp_get_rnmax(void); 46unsigned long long sclp_get_rnmax(void);
48unsigned long long sclp_get_rzm(void); 47unsigned long long sclp_get_rzm(void);
49int sclp_sdias_blk_count(void); 48int sclp_sdias_blk_count(void);
@@ -57,7 +56,7 @@ bool sclp_has_vt220(void);
57int sclp_pci_configure(u32 fid); 56int sclp_pci_configure(u32 fid);
58int sclp_pci_deconfigure(u32 fid); 57int sclp_pci_deconfigure(u32 fid);
59int memcpy_hsa(void *dest, unsigned long src, size_t count, int mode); 58int memcpy_hsa(void *dest, unsigned long src, size_t count, int mode);
60void sclp_hsa_size_detect(void);
61unsigned long sclp_get_hsa_size(void); 59unsigned long sclp_get_hsa_size(void);
60void sclp_early_detect(void);
62 61
63#endif /* _ASM_S390_SCLP_H */ 62#endif /* _ASM_S390_SCLP_H */
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c
index c0462f45cf1b..fca20b5fe79e 100644
--- a/arch/s390/kernel/early.c
+++ b/arch/s390/kernel/early.c
@@ -483,8 +483,7 @@ void __init startup_init(void)
483 detect_diag44(); 483 detect_diag44();
484 detect_machine_facilities(); 484 detect_machine_facilities();
485 setup_topology(); 485 setup_topology();
486 sclp_facilities_detect(); 486 sclp_early_detect();
487 sclp_hsa_size_detect();
488#ifdef CONFIG_DYNAMIC_FTRACE 487#ifdef CONFIG_DYNAMIC_FTRACE
489 S390_lowcore.ftrace_func = (unsigned long)ftrace_caller; 488 S390_lowcore.ftrace_func = (unsigned long)ftrace_caller;
490#endif 489#endif