diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
commit | 0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch) | |
tree | 41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /drivers/s390/virtio/kvm_virtio.c | |
parent | aa877175e7a9982233ed8f10cb4bfddd78d82741 (diff) | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'drivers/s390/virtio/kvm_virtio.c')
-rw-r--r-- | drivers/s390/virtio/kvm_virtio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/s390/virtio/kvm_virtio.c b/drivers/s390/virtio/kvm_virtio.c index 1d060fd293a3..5e5c11f37b24 100644 --- a/drivers/s390/virtio/kvm_virtio.c +++ b/drivers/s390/virtio/kvm_virtio.c | |||
@@ -458,6 +458,8 @@ static int __init kvm_devices_init(void) | |||
458 | if (test_devices_support(total_memory_size) < 0) | 458 | if (test_devices_support(total_memory_size) < 0) |
459 | return -ENODEV; | 459 | return -ENODEV; |
460 | 460 | ||
461 | pr_warn("The s390-virtio transport is deprecated. Please switch to a modern host providing virtio-ccw.\n"); | ||
462 | |||
461 | rc = vmem_add_mapping(total_memory_size, PAGE_SIZE); | 463 | rc = vmem_add_mapping(total_memory_size, PAGE_SIZE); |
462 | if (rc) | 464 | if (rc) |
463 | return rc; | 465 | return rc; |
@@ -482,7 +484,7 @@ static int __init kvm_devices_init(void) | |||
482 | } | 484 | } |
483 | 485 | ||
484 | /* code for early console output with virtio_console */ | 486 | /* code for early console output with virtio_console */ |
485 | static __init int early_put_chars(u32 vtermno, const char *buf, int count) | 487 | static int early_put_chars(u32 vtermno, const char *buf, int count) |
486 | { | 488 | { |
487 | char scratch[17]; | 489 | char scratch[17]; |
488 | unsigned int len = count; | 490 | unsigned int len = count; |