diff options
| author | Takashi Iwai <tiwai@suse.de> | 2013-07-24 05:42:34 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2013-07-24 05:42:34 -0400 |
| commit | 43cbd286fbba4bfb0c2ef05dc62522dfd5a2c000 (patch) | |
| tree | 7184a24f04c72987e725e50e66db530e6f618220 /mm | |
| parent | fee4b700a4e9e446151eb5a03874ca8666323113 (diff) | |
| parent | c5ae4dca11523dff15cfb1763b64a71b805976aa (diff) | |
Merge tag 'asoc-v3.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v3.11
A few small updates again, the sgtl5000 one fixes some newly triggered
issues due to some probe ordering changes which were introduced in the
last merge window.
Diffstat (limited to 'mm')
| -rw-r--r-- | mm/backing-dev.c | 2 | ||||
| -rw-r--r-- | mm/memcontrol.c | 2 | ||||
| -rw-r--r-- | mm/page-writeback.c | 4 | ||||
| -rw-r--r-- | mm/slab.c | 10 | ||||
| -rw-r--r-- | mm/slub.c | 4 | ||||
| -rw-r--r-- | mm/vmstat.c | 6 |
6 files changed, 13 insertions, 15 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index d014ee5fcbbd..e04454cdb33f 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
| @@ -232,8 +232,6 @@ static ssize_t stable_pages_required_show(struct device *dev, | |||
| 232 | bdi_cap_stable_pages_required(bdi) ? 1 : 0); | 232 | bdi_cap_stable_pages_required(bdi) ? 1 : 0); |
| 233 | } | 233 | } |
| 234 | 234 | ||
| 235 | #define __ATTR_RW(attr) __ATTR(attr, 0644, attr##_show, attr##_store) | ||
| 236 | |||
| 237 | static struct device_attribute bdi_dev_attrs[] = { | 235 | static struct device_attribute bdi_dev_attrs[] = { |
| 238 | __ATTR_RW(read_ahead_kb), | 236 | __ATTR_RW(read_ahead_kb), |
| 239 | __ATTR_RW(min_ratio), | 237 | __ATTR_RW(min_ratio), |
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index d12ca6f3c293..00a7a664b9c1 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
| @@ -2522,7 +2522,7 @@ static void mem_cgroup_drain_pcp_counter(struct mem_cgroup *memcg, int cpu) | |||
| 2522 | spin_unlock(&memcg->pcp_counter_lock); | 2522 | spin_unlock(&memcg->pcp_counter_lock); |
| 2523 | } | 2523 | } |
| 2524 | 2524 | ||
| 2525 | static int __cpuinit memcg_cpu_hotplug_callback(struct notifier_block *nb, | 2525 | static int memcg_cpu_hotplug_callback(struct notifier_block *nb, |
| 2526 | unsigned long action, | 2526 | unsigned long action, |
| 2527 | void *hcpu) | 2527 | void *hcpu) |
| 2528 | { | 2528 | { |
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 4514ad7415c3..3f0c895c71fe 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
| @@ -1619,7 +1619,7 @@ void writeback_set_ratelimit(void) | |||
| 1619 | ratelimit_pages = 16; | 1619 | ratelimit_pages = 16; |
| 1620 | } | 1620 | } |
| 1621 | 1621 | ||
| 1622 | static int __cpuinit | 1622 | static int |
| 1623 | ratelimit_handler(struct notifier_block *self, unsigned long action, | 1623 | ratelimit_handler(struct notifier_block *self, unsigned long action, |
| 1624 | void *hcpu) | 1624 | void *hcpu) |
| 1625 | { | 1625 | { |
| @@ -1634,7 +1634,7 @@ ratelimit_handler(struct notifier_block *self, unsigned long action, | |||
| 1634 | } | 1634 | } |
| 1635 | } | 1635 | } |
| 1636 | 1636 | ||
| 1637 | static struct notifier_block __cpuinitdata ratelimit_nb = { | 1637 | static struct notifier_block ratelimit_nb = { |
| 1638 | .notifier_call = ratelimit_handler, | 1638 | .notifier_call = ratelimit_handler, |
| 1639 | .next = NULL, | 1639 | .next = NULL, |
| 1640 | }; | 1640 | }; |
| @@ -787,7 +787,7 @@ static void next_reap_node(void) | |||
| 787 | * the CPUs getting into lockstep and contending for the global cache chain | 787 | * the CPUs getting into lockstep and contending for the global cache chain |
| 788 | * lock. | 788 | * lock. |
| 789 | */ | 789 | */ |
| 790 | static void __cpuinit start_cpu_timer(int cpu) | 790 | static void start_cpu_timer(int cpu) |
| 791 | { | 791 | { |
| 792 | struct delayed_work *reap_work = &per_cpu(slab_reap_work, cpu); | 792 | struct delayed_work *reap_work = &per_cpu(slab_reap_work, cpu); |
| 793 | 793 | ||
| @@ -1186,7 +1186,7 @@ static inline int slabs_tofree(struct kmem_cache *cachep, | |||
| 1186 | return (n->free_objects + cachep->num - 1) / cachep->num; | 1186 | return (n->free_objects + cachep->num - 1) / cachep->num; |
| 1187 | } | 1187 | } |
| 1188 | 1188 | ||
| 1189 | static void __cpuinit cpuup_canceled(long cpu) | 1189 | static void cpuup_canceled(long cpu) |
| 1190 | { | 1190 | { |
| 1191 | struct kmem_cache *cachep; | 1191 | struct kmem_cache *cachep; |
| 1192 | struct kmem_cache_node *n = NULL; | 1192 | struct kmem_cache_node *n = NULL; |
| @@ -1251,7 +1251,7 @@ free_array_cache: | |||
| 1251 | } | 1251 | } |
| 1252 | } | 1252 | } |
| 1253 | 1253 | ||
| 1254 | static int __cpuinit cpuup_prepare(long cpu) | 1254 | static int cpuup_prepare(long cpu) |
| 1255 | { | 1255 | { |
| 1256 | struct kmem_cache *cachep; | 1256 | struct kmem_cache *cachep; |
| 1257 | struct kmem_cache_node *n = NULL; | 1257 | struct kmem_cache_node *n = NULL; |
| @@ -1334,7 +1334,7 @@ bad: | |||
| 1334 | return -ENOMEM; | 1334 | return -ENOMEM; |
| 1335 | } | 1335 | } |
| 1336 | 1336 | ||
| 1337 | static int __cpuinit cpuup_callback(struct notifier_block *nfb, | 1337 | static int cpuup_callback(struct notifier_block *nfb, |
| 1338 | unsigned long action, void *hcpu) | 1338 | unsigned long action, void *hcpu) |
| 1339 | { | 1339 | { |
| 1340 | long cpu = (long)hcpu; | 1340 | long cpu = (long)hcpu; |
| @@ -1390,7 +1390,7 @@ static int __cpuinit cpuup_callback(struct notifier_block *nfb, | |||
| 1390 | return notifier_from_errno(err); | 1390 | return notifier_from_errno(err); |
| 1391 | } | 1391 | } |
| 1392 | 1392 | ||
| 1393 | static struct notifier_block __cpuinitdata cpucache_notifier = { | 1393 | static struct notifier_block cpucache_notifier = { |
| 1394 | &cpuup_callback, NULL, 0 | 1394 | &cpuup_callback, NULL, 0 |
| 1395 | }; | 1395 | }; |
| 1396 | 1396 | ||
| @@ -3773,7 +3773,7 @@ int __kmem_cache_create(struct kmem_cache *s, unsigned long flags) | |||
| 3773 | * Use the cpu notifier to insure that the cpu slabs are flushed when | 3773 | * Use the cpu notifier to insure that the cpu slabs are flushed when |
| 3774 | * necessary. | 3774 | * necessary. |
| 3775 | */ | 3775 | */ |
| 3776 | static int __cpuinit slab_cpuup_callback(struct notifier_block *nfb, | 3776 | static int slab_cpuup_callback(struct notifier_block *nfb, |
| 3777 | unsigned long action, void *hcpu) | 3777 | unsigned long action, void *hcpu) |
| 3778 | { | 3778 | { |
| 3779 | long cpu = (long)hcpu; | 3779 | long cpu = (long)hcpu; |
| @@ -3799,7 +3799,7 @@ static int __cpuinit slab_cpuup_callback(struct notifier_block *nfb, | |||
| 3799 | return NOTIFY_OK; | 3799 | return NOTIFY_OK; |
| 3800 | } | 3800 | } |
| 3801 | 3801 | ||
| 3802 | static struct notifier_block __cpuinitdata slab_notifier = { | 3802 | static struct notifier_block slab_notifier = { |
| 3803 | .notifier_call = slab_cpuup_callback | 3803 | .notifier_call = slab_cpuup_callback |
| 3804 | }; | 3804 | }; |
| 3805 | 3805 | ||
diff --git a/mm/vmstat.c b/mm/vmstat.c index f42745e65780..20c2ef4458fa 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
| @@ -1182,7 +1182,7 @@ static void vmstat_update(struct work_struct *w) | |||
| 1182 | round_jiffies_relative(sysctl_stat_interval)); | 1182 | round_jiffies_relative(sysctl_stat_interval)); |
| 1183 | } | 1183 | } |
| 1184 | 1184 | ||
| 1185 | static void __cpuinit start_cpu_timer(int cpu) | 1185 | static void start_cpu_timer(int cpu) |
| 1186 | { | 1186 | { |
| 1187 | struct delayed_work *work = &per_cpu(vmstat_work, cpu); | 1187 | struct delayed_work *work = &per_cpu(vmstat_work, cpu); |
| 1188 | 1188 | ||
| @@ -1194,7 +1194,7 @@ static void __cpuinit start_cpu_timer(int cpu) | |||
| 1194 | * Use the cpu notifier to insure that the thresholds are recalculated | 1194 | * Use the cpu notifier to insure that the thresholds are recalculated |
| 1195 | * when necessary. | 1195 | * when necessary. |
| 1196 | */ | 1196 | */ |
| 1197 | static int __cpuinit vmstat_cpuup_callback(struct notifier_block *nfb, | 1197 | static int vmstat_cpuup_callback(struct notifier_block *nfb, |
| 1198 | unsigned long action, | 1198 | unsigned long action, |
| 1199 | void *hcpu) | 1199 | void *hcpu) |
| 1200 | { | 1200 | { |
| @@ -1226,7 +1226,7 @@ static int __cpuinit vmstat_cpuup_callback(struct notifier_block *nfb, | |||
| 1226 | return NOTIFY_OK; | 1226 | return NOTIFY_OK; |
| 1227 | } | 1227 | } |
| 1228 | 1228 | ||
| 1229 | static struct notifier_block __cpuinitdata vmstat_notifier = | 1229 | static struct notifier_block vmstat_notifier = |
| 1230 | { &vmstat_cpuup_callback, NULL, 0 }; | 1230 | { &vmstat_cpuup_callback, NULL, 0 }; |
| 1231 | #endif | 1231 | #endif |
| 1232 | 1232 | ||
