History

cpu/topology: Export die_id

Export die_id in cpu topology, for the benefit of hardware that has multiple-die/package.

Len Brown committed 7 years ago

Commit 0e344d81 parent 14d96d63 files · +19 −3Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/topology.h+3−0
@@ -184,6 +184,9 @@ static inline int cpu_to_mem(int cpu) · 183 unmodified lines
184184 #ifndef topology_physical_package_id
185185 #define topology_physical_package_id(cpu) ((void)(cpu), -1)
186186 #endif
187+#ifndef topology_die_id
188+#define topology_die_id(cpu) ((void)(cpu), -1)
189+#endif
187190 #ifndef topology_core_id
188191 #define topology_core_id(cpu) ((void)(cpu), 0)
189192 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t