From: <gregkh@linuxfoundation.org>
To: juri.lelli@arm.com, gregkh@linuxfoundation.org,
linux@arm.linux.org.uk, rmk+kernel@armlinux.org.uk,
sudeep.holla@arm.com
Cc: <stable@vger.kernel.org>, <stable-commits@vger.kernel.org>
Subject: Patch "arm: remove wrong CONFIG_PROC_SYSCTL ifdef" has been added to the 4.11-stable tree
Date: Fri, 07 Jul 2017 15:51:10 +0200 [thread overview]
Message-ID: <149943547010889@kroah.com> (raw)
This is a note to let you know that I've just added the patch titled
arm: remove wrong CONFIG_PROC_SYSCTL ifdef
to the 4.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
arm-remove-wrong-config_proc_sysctl-ifdef.patch
and it can be found in the queue-4.11 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From f70b281b59a871545362a494d99a644153fbbaac Mon Sep 17 00:00:00 2001
From: Juri Lelli <juri.lelli@arm.com>
Date: Wed, 31 May 2017 17:59:27 +0100
Subject: arm: remove wrong CONFIG_PROC_SYSCTL ifdef
From: Juri Lelli <juri.lelli@arm.com>
commit f70b281b59a871545362a494d99a644153fbbaac upstream.
The sysfs cpu_capacity entry for each CPU has nothing to do with
PROC_FS, nor it's in /proc/sys path.
Remove such ifdef.
Cc: Russell King <linux@arm.linux.org.uk>
Reported-and-suggested-by: Sudeep Holla <sudeep.holla@arm.com>
Fixes: 7e5930aaef5d ('ARM: 8622/3: add sysfs cpu_capacity attribute')
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/arm/kernel/topology.c | 2 --
1 file changed, 2 deletions(-)
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -57,7 +57,6 @@ static void set_capacity_scale(unsigned
per_cpu(cpu_scale, cpu) = capacity;
}
-#ifdef CONFIG_PROC_SYSCTL
static ssize_t cpu_capacity_show(struct device *dev,
struct device_attribute *attr,
char *buf)
@@ -114,7 +113,6 @@ static int register_cpu_capacity_sysctl(
return 0;
}
subsys_initcall(register_cpu_capacity_sysctl);
-#endif
#ifdef CONFIG_OF
struct cpu_efficiency {
Patches currently in stable-queue which might be from juri.lelli@arm.com are
queue-4.11/arm-remove-wrong-config_proc_sysctl-ifdef.patch
reply other threads:[~2017-07-07 13:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=149943547010889@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=juri.lelli@arm.com \
--cc=linux@arm.linux.org.uk \
--cc=rmk+kernel@armlinux.org.uk \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=sudeep.holla@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox