diff mbox series

[08/16] procfs: remove CONFIG_HARDWALL dependency

Message ID 20180314143755.1508262-1-arnd@arndb.de
State Accepted
Commit e05a959f4b9ae8d9693a8a7347d42d9e45edb3b6
Headers show
Series [01/16] mn10300: Remove the architecture | expand

Commit Message

Arnd Bergmann March 14, 2018, 2:37 p.m. UTC
Hardwall is a tile specific feature, and with the removal of the
tile architecture, this has become dead code, so let's remove it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 fs/proc/base.c | 9 ---------
 1 file changed, 9 deletions(-)

-- 
2.9.0

Comments

Alexey Dobriyan March 14, 2018, 5:41 p.m. UTC | #1
On Wed, Mar 14, 2018 at 03:37:37PM +0100, Arnd Bergmann wrote:
> Hardwall is a tile specific feature, and with the removal of the

> tile architecture, this has become dead code, so let's remove it.

> 

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>


ACK

Although it should go via tile tree for "atomicity".
Arnd Bergmann March 14, 2018, 8:18 p.m. UTC | #2
On Wed, Mar 14, 2018 at 6:41 PM, Alexey Dobriyan <adobriyan@gmail.com> wrote:
> On Wed, Mar 14, 2018 at 03:37:37PM +0100, Arnd Bergmann wrote:

>> Hardwall is a tile specific feature, and with the removal of the

>> tile architecture, this has become dead code, so let's remove it.

>>

>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

>

> ACK

>

> Although it should go via tile tree for "atomicity".


Both the arch/tile removal and this patch are in my asm-generic tree, as there
is no longer a tile specific git.

Thanks for your Ack!

       Arnd
diff mbox series

Patch

diff --git a/fs/proc/base.c b/fs/proc/base.c
index 9298324325ed..d53246863cfb 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -94,9 +94,6 @@ 
 #include <linux/sched/stat.h>
 #include <linux/flex_array.h>
 #include <linux/posix-timers.h>
-#ifdef CONFIG_HARDWALL
-#include <asm/hardwall.h>
-#endif
 #include <trace/events/oom.h>
 #include "internal.h"
 #include "fd.h"
@@ -3002,9 +2999,6 @@  static const struct pid_entry tgid_base_stuff[] = {
 #ifdef CONFIG_TASK_IO_ACCOUNTING
 	ONE("io",	S_IRUSR, proc_tgid_io_accounting),
 #endif
-#ifdef CONFIG_HARDWALL
-	ONE("hardwall",   S_IRUGO, proc_pid_hardwall),
-#endif
 #ifdef CONFIG_USER_NS
 	REG("uid_map",    S_IRUGO|S_IWUSR, proc_uid_map_operations),
 	REG("gid_map",    S_IRUGO|S_IWUSR, proc_gid_map_operations),
@@ -3393,9 +3387,6 @@  static const struct pid_entry tid_base_stuff[] = {
 #ifdef CONFIG_TASK_IO_ACCOUNTING
 	ONE("io",	S_IRUSR, proc_tid_io_accounting),
 #endif
-#ifdef CONFIG_HARDWALL
-	ONE("hardwall",   S_IRUGO, proc_pid_hardwall),
-#endif
 #ifdef CONFIG_USER_NS
 	REG("uid_map",    S_IRUGO|S_IWUSR, proc_uid_map_operations),
 	REG("gid_map",    S_IRUGO|S_IWUSR, proc_gid_map_operations),