Josh Poimboeuf de7b77e5bb cpu/hotplug: Create SMT sysfs interface for all arches
Make the /sys/devices/system/cpu/smt/* files available on all arches, so
user space has a consistent way to detect whether SMT is enabled.

The 'control' file now shows 'notimplemented' for architectures which
don't yet have CONFIG_HOTPLUG_SMT.

[ tglx: Make notimplemented a real state ]

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Waiman Long <longman@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Jiri Kosina <jikos@kernel.org>
Link: https://lkml.kernel.org/r/469c2b98055f2c41e75748e06447d592a64080c9.1553635520.git.jpoimboe@redhat.com
2019-04-02 12:36:56 +02:00
..
2011-10-24 16:52:39 +02:00
2018-02-23 08:17:28 -07:00
2013-03-23 16:11:31 -07:00
2011-03-31 11:26:23 -03:00
2012-04-23 14:23:32 +03:00
2018-11-12 10:33:50 +01:00
2011-03-22 04:53:09 -03:00
2017-10-30 11:46:04 +01:00
2008-11-12 17:17:18 -08:00
2018-06-03 20:32:02 +10:00
2017-06-03 19:29:26 +09:00
2015-12-16 00:21:40 +08:00
2018-01-27 20:02:24 +11:00
2013-10-17 00:36:06 +02:00
2018-03-17 14:20:54 +01:00
2015-04-30 22:15:04 +01:00
2011-04-29 18:09:34 -07:00
2009-02-18 15:37:56 -08:00
2008-07-24 10:47:17 -07:00
2008-04-18 08:56:07 -07:00
2009-06-18 13:04:04 -07:00
2015-12-08 14:50:12 +01:00