summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-11-29 14:03:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-03 15:58:27 +0100
commitf1045056c726440469d89d23c13734bcd6c0d15b (patch)
treef4b9b2b30a94baa1798cde9cb81c8e8d24862889 /samples
parente795707703b32fecdd7467afcc33ff1e92416c05 (diff)
downloadlinux-f1045056c726440469d89d23c13734bcd6c0d15b.tar.bz2
topology/sysfs: rework book and drawer topology ifdefery
Provide default defines for the topology_book_[id|cpumask] and topology_drawer_[id|cpumask] macros just like for each other topology level. This way all topology levels are handled in a similar way. Still the the book and drawer levels are only used on s390, and also the sysfs attributes are only created on s390. However other architectures may opt in if wanted. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Link: https://lore.kernel.org/r/20211129130309.3256168-4-hca@linux.ibm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions