diff options
| -rw-r--r-- | arch/s390/Kconfig | 3 | ||||
| -rw-r--r-- | arch/s390/include/asm/pci.h | 3 | ||||
| -rw-r--r-- | arch/s390/include/asm/seccomp.h | 2 | ||||
| -rw-r--r-- | arch/s390/lib/spinlock.c | 1 | ||||
| -rw-r--r-- | drivers/s390/block/dcssblk.c | 5 | ||||
| -rw-r--r-- | drivers/s390/block/scm_blk.c | 2 |
6 files changed, 12 insertions, 4 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index aad23e3dff2c..bf24ab188921 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
| @@ -4,6 +4,9 @@ config MMU | |||
| 4 | config ZONE_DMA | 4 | config ZONE_DMA |
| 5 | def_bool y | 5 | def_bool y |
| 6 | 6 | ||
| 7 | config CPU_BIG_ENDIAN | ||
| 8 | def_bool y | ||
| 9 | |||
| 7 | config LOCKDEP_SUPPORT | 10 | config LOCKDEP_SUPPORT |
| 8 | def_bool y | 11 | def_bool y |
| 9 | 12 | ||
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h index b6bfa169a002..535a46d46d28 100644 --- a/arch/s390/include/asm/pci.h +++ b/arch/s390/include/asm/pci.h | |||
| @@ -44,7 +44,8 @@ struct zpci_fmb { | |||
| 44 | u64 rpcit_ops; | 44 | u64 rpcit_ops; |
| 45 | u64 dma_rbytes; | 45 | u64 dma_rbytes; |
| 46 | u64 dma_wbytes; | 46 | u64 dma_wbytes; |
| 47 | } __packed __aligned(64); | 47 | u64 pad[2]; |
| 48 | } __packed __aligned(128); | ||
| 48 | 49 | ||
| 49 | enum zpci_state { | 50 | enum zpci_state { |
| 50 | ZPCI_FN_STATE_RESERVED, | 51 | ZPCI_FN_STATE_RESERVED, |
diff --git a/arch/s390/include/asm/seccomp.h b/arch/s390/include/asm/seccomp.h index 781a9cf9b002..e10f8337367b 100644 --- a/arch/s390/include/asm/seccomp.h +++ b/arch/s390/include/asm/seccomp.h | |||
| @@ -13,4 +13,6 @@ | |||
| 13 | #define __NR_seccomp_exit_32 __NR_exit | 13 | #define __NR_seccomp_exit_32 __NR_exit |
| 14 | #define __NR_seccomp_sigreturn_32 __NR_sigreturn | 14 | #define __NR_seccomp_sigreturn_32 __NR_sigreturn |
| 15 | 15 | ||
| 16 | #include <asm-generic/seccomp.h> | ||
| 17 | |||
| 16 | #endif /* _ASM_S390_SECCOMP_H */ | 18 | #endif /* _ASM_S390_SECCOMP_H */ |
diff --git a/arch/s390/lib/spinlock.c b/arch/s390/lib/spinlock.c index d4549c964589..e5f50a7d2f4e 100644 --- a/arch/s390/lib/spinlock.c +++ b/arch/s390/lib/spinlock.c | |||
| @@ -105,6 +105,7 @@ void arch_spin_lock_wait_flags(arch_spinlock_t *lp, unsigned long flags) | |||
| 105 | if (_raw_compare_and_swap(&lp->lock, 0, cpu)) | 105 | if (_raw_compare_and_swap(&lp->lock, 0, cpu)) |
| 106 | return; | 106 | return; |
| 107 | local_irq_restore(flags); | 107 | local_irq_restore(flags); |
| 108 | continue; | ||
| 108 | } | 109 | } |
| 109 | /* Check if the lock owner is running. */ | 110 | /* Check if the lock owner is running. */ |
| 110 | if (first_diag && cpu_is_preempted(~owner)) { | 111 | if (first_diag && cpu_is_preempted(~owner)) { |
diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c index 1bce9cf51b1e..b83908670a9a 100644 --- a/drivers/s390/block/dcssblk.c +++ b/drivers/s390/block/dcssblk.c | |||
| @@ -756,15 +756,16 @@ dcssblk_remove_store(struct device *dev, struct device_attribute *attr, const ch | |||
| 756 | blk_cleanup_queue(dev_info->dcssblk_queue); | 756 | blk_cleanup_queue(dev_info->dcssblk_queue); |
| 757 | dev_info->gd->queue = NULL; | 757 | dev_info->gd->queue = NULL; |
| 758 | put_disk(dev_info->gd); | 758 | put_disk(dev_info->gd); |
| 759 | device_unregister(&dev_info->dev); | ||
| 760 | 759 | ||
| 761 | /* unload all related segments */ | 760 | /* unload all related segments */ |
| 762 | list_for_each_entry(entry, &dev_info->seg_list, lh) | 761 | list_for_each_entry(entry, &dev_info->seg_list, lh) |
| 763 | segment_unload(entry->segment_name); | 762 | segment_unload(entry->segment_name); |
| 764 | 763 | ||
| 765 | put_device(&dev_info->dev); | ||
| 766 | up_write(&dcssblk_devices_sem); | 764 | up_write(&dcssblk_devices_sem); |
| 767 | 765 | ||
| 766 | device_unregister(&dev_info->dev); | ||
| 767 | put_device(&dev_info->dev); | ||
| 768 | |||
| 768 | rc = count; | 769 | rc = count; |
| 769 | out_buf: | 770 | out_buf: |
| 770 | kfree(local_buf); | 771 | kfree(local_buf); |
diff --git a/drivers/s390/block/scm_blk.c b/drivers/s390/block/scm_blk.c index 75d9896deccb..e6f54d3b8969 100644 --- a/drivers/s390/block/scm_blk.c +++ b/drivers/s390/block/scm_blk.c | |||
| @@ -303,7 +303,7 @@ static void scm_blk_request(struct request_queue *rq) | |||
| 303 | if (req->cmd_type != REQ_TYPE_FS) { | 303 | if (req->cmd_type != REQ_TYPE_FS) { |
| 304 | blk_start_request(req); | 304 | blk_start_request(req); |
| 305 | blk_dump_rq_flags(req, KMSG_COMPONENT " bad request"); | 305 | blk_dump_rq_flags(req, KMSG_COMPONENT " bad request"); |
| 306 | blk_end_request_all(req, -EIO); | 306 | __blk_end_request_all(req, -EIO); |
| 307 | continue; | 307 | continue; |
| 308 | } | 308 | } |
| 309 | 309 | ||
