Skip to content

Commit b1052a9

Browse files
svens-s390Alexander Gordeev
authored andcommitted
s390/stp: Default to enabled
With time steering moved to userspace, stp can be enabled by default. Signed-off-by: Sven Schnelle <[email protected]> Acked-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 64764cf commit b1052a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/s390/kernel/time.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ struct clock_sync_data {
397397
/*
398398
* Server Time Protocol (STP) code.
399399
*/
400-
static bool stp_online;
400+
static bool stp_online = true;
401401
static struct stp_sstpi stp_info;
402402
static void *stp_page;
403403

@@ -423,7 +423,6 @@ static void __init stp_reset(void)
423423
if (rc == 0)
424424
set_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags);
425425
else if (stp_online) {
426-
pr_warn("The real or virtual hardware system does not provide an STP interface\n");
427426
free_page((unsigned long) stp_page);
428427
stp_page = NULL;
429428
stp_online = false;

0 commit comments

Comments
 (0)