Re: [patch 06/13] sparc/sysfs: Replace racy task affinity logic
From: David Miller
Date: Wed Apr 12 2017 - 21:54:43 EST
From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Wed, 12 Apr 2017 22:07:32 +0200
> @@ -142,7 +122,8 @@ static unsigned long write_mmustat_enabl
> static ssize_t show_mmustat_enable(struct device *s,
> struct device_attribute *attr, char *buf)
> {
> - unsigned long val = run_on_cpu(s->id, read_mmustat_enable, 0);
> + long val = work_on_cpu(s->id, read_mmustat_enable, 0);
Last argument to work_on_cpu() should be NULL since it's a pointer
I guess.
But otherwise I have no problems with this:
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>