1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: kernel: Fix initialization of stp.
5 Symptom: The stp support cannot be activated.
6 Problem: The return code of chsc_sstpc changed from 1 for success to
7 0 for success. The stp_reset function still tests for 1 and
8 does not set the indication that stp support is available.
9 Solution: Check for the correct return code of chsc_sstpc.
11 Acked-by: John Jolly <jjolly@suse.de>
13 arch/s390/kernel/time.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 --- a/arch/s390/kernel/time.c
17 +++ b/arch/s390/kernel/time.c
18 @@ -1358,7 +1358,7 @@ static void __init stp_reset(void)
20 stp_page = alloc_bootmem_pages(PAGE_SIZE);
21 rc = chsc_sstpc(stp_page, STP_OP_CTRL, 0x0000);
24 set_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags);
25 else if (stp_online) {
26 pr_warning("The real or virtual hardware system does "