summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-11-21 12:56:52 +0000
committerMark Brown <broonie@linaro.org>2013-11-21 12:56:52 +0000
commit16ec790938d4f356c82fab27b9a9adf4d6fe19a6 (patch)
tree8158b4c88b59391274d539a7e8e6985446d900e7 /lib
parente64001e8efc107992fd835770f6383d0dc731594 (diff)
parent254dc326dbfd23c2678fafad1b84fc0e42ac4374 (diff)
downloadop-kernel-dev-16ec790938d4f356c82fab27b9a9adf4d6fe19a6.zip
op-kernel-dev-16ec790938d4f356c82fab27b9a9adf4d6fe19a6.tar.gz
Merge tag 'ib-asoc-1' of git://git.linaro.org/people/ljones/mfd into asoc-arizona
Immutable branch for ASoC, as requested by Mark Brown
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug2
-rw-r--r--lib/scatterlist.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 06344d9..094f315 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -983,7 +983,7 @@ config DEBUG_KOBJECT
config DEBUG_KOBJECT_RELEASE
bool "kobject release debugging"
- depends on DEBUG_KERNEL
+ depends on DEBUG_OBJECTS_TIMERS
help
kobjects are reference counted objects. This means that their
last reference count put is not predictable, and the kobject can
diff --git a/lib/scatterlist.c b/lib/scatterlist.c
index a685c8a..d16fa29 100644
--- a/lib/scatterlist.c
+++ b/lib/scatterlist.c
@@ -577,7 +577,8 @@ void sg_miter_stop(struct sg_mapping_iter *miter)
miter->__offset += miter->consumed;
miter->__remaining -= miter->consumed;
- if (miter->__flags & SG_MITER_TO_SG)
+ if ((miter->__flags & SG_MITER_TO_SG) &&
+ !PageSlab(miter->page))
flush_kernel_dcache_page(miter->page);
if (miter->__flags & SG_MITER_ATOMIC) {
OpenPOWER on IntegriCloud