diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 20:54:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 20:54:03 -0500 |
commit | 81ec44a6c69342fec1b1140c60a604027e429f69 (patch) | |
tree | ee6bec8a94ef28e111bf766cf4b7a9366cb4f7c1 /drivers/s390/cio/cmf.c | |
parent | 48a732dfaa77a4dfec803aa8f248373998704f76 (diff) | |
parent | e80cfc31d872b6b85b8966bce6ba80bee401a7dd (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull s390 update from Martin Schwidefsky:
"The most prominent change in this patch set is the software dirty bit
patch for s390. It removes __HAVE_ARCH_PAGE_TEST_AND_CLEAR_DIRTY and
the page_test_and_clear_dirty primitive which makes the common memory
management code a bit less obscure.
Heiko fixed most of the PCI related fallout, more often than not
missing GENERIC_HARDIRQS dependencies. Notable is one of the 3270
patches which adds an export to tty_io to be able to resize a tty.
The rest is the usual bunch of cleanups and bug fixes."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (42 commits)
s390/module: Add missing R_390_NONE relocation type
drivers/gpio: add missing GENERIC_HARDIRQ dependency
drivers/input: add couple of missing GENERIC_HARDIRQS dependencies
s390/cleanup: rename SPP to LPP
s390/mm: implement software dirty bits
s390/mm: Fix crst upgrade of mmap with MAP_FIXED
s390/linker skript: discard exit.data at runtime
drivers/media: add missing GENERIC_HARDIRQS dependency
s390/bpf,jit: add vlan tag support
drivers/net,AT91RM9200: add missing GENERIC_HARDIRQS dependency
iucv: fix kernel panic at reboot
s390/Kconfig: sort list of arch selected config options
phylib: remove !S390 dependeny from Kconfig
uio: remove !S390 dependency from Kconfig
dasd: fix sysfs cleanup in dasd_generic_remove
s390/pci: fix hotplug module init
s390/pci: cleanup clp page allocation
s390/pci: cleanup clp inline assembly
s390/perf: cpum_cf: fallback to software sampling events
s390/mm: provide PAGE_SHARED define
...
Diffstat (limited to 'drivers/s390/cio/cmf.c')
-rw-r--r-- | drivers/s390/cio/cmf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/cio/cmf.c b/drivers/s390/cio/cmf.c index c9fc61c0a866..4495e0627a40 100644 --- a/drivers/s390/cio/cmf.c +++ b/drivers/s390/cio/cmf.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/module.h> | 33 | #include <linux/module.h> |
34 | #include <linux/moduleparam.h> | 34 | #include <linux/moduleparam.h> |
35 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
36 | #include <linux/timex.h> /* get_clock() */ | 36 | #include <linux/timex.h> /* get_tod_clock() */ |
37 | 37 | ||
38 | #include <asm/ccwdev.h> | 38 | #include <asm/ccwdev.h> |
39 | #include <asm/cio.h> | 39 | #include <asm/cio.h> |
@@ -326,7 +326,7 @@ static int cmf_copy_block(struct ccw_device *cdev) | |||
326 | memcpy(cmb_data->last_block, hw_block, cmb_data->size); | 326 | memcpy(cmb_data->last_block, hw_block, cmb_data->size); |
327 | memcpy(reference_buf, hw_block, cmb_data->size); | 327 | memcpy(reference_buf, hw_block, cmb_data->size); |
328 | } while (memcmp(cmb_data->last_block, reference_buf, cmb_data->size)); | 328 | } while (memcmp(cmb_data->last_block, reference_buf, cmb_data->size)); |
329 | cmb_data->last_update = get_clock(); | 329 | cmb_data->last_update = get_tod_clock(); |
330 | kfree(reference_buf); | 330 | kfree(reference_buf); |
331 | return 0; | 331 | return 0; |
332 | } | 332 | } |
@@ -428,7 +428,7 @@ static void cmf_generic_reset(struct ccw_device *cdev) | |||
428 | memset(cmbops->align(cmb_data->hw_block), 0, cmb_data->size); | 428 | memset(cmbops->align(cmb_data->hw_block), 0, cmb_data->size); |
429 | cmb_data->last_update = 0; | 429 | cmb_data->last_update = 0; |
430 | } | 430 | } |
431 | cdev->private->cmb_start_time = get_clock(); | 431 | cdev->private->cmb_start_time = get_tod_clock(); |
432 | spin_unlock_irq(cdev->ccwlock); | 432 | spin_unlock_irq(cdev->ccwlock); |
433 | } | 433 | } |
434 | 434 | ||