diff options
author | Len Brown <len.brown@intel.com> | 2019-05-13 20:58:48 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-05-23 11:08:31 +0300 |
commit | 306a0de329f77537f29022c2982006f9145d782d (patch) | |
tree | 9982c29abf03d7e66ae14e2f7f3a32375c772c05 /drivers/powercap | |
parent | 0e344d8c709fe01d882fc0fb5452bedfe5eba67a (diff) | |
download | linux-306a0de329f77537f29022c2982006f9145d782d.tar.xz |
x86/topology: Define topology_die_id()
topology_die_id(cpu) is a simple macro for use inside the kernel to get the
die_id associated with the given cpu.
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/6463bc422b1b05445a502dc505c1d7c6756bda6a.1557769318.git.len.brown@intel.com
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions