Commit 0014f65
committed
pm: cpupower: remove hard-coded topology depth values
Remove hard-coded topology depth values and replace them with
defines to improve code readability and maintainability in
cpupower-monitor code.
Link: https://lore.kernel.org/r/20250305225342.19447-3-skhan@linuxfoundation.org
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>1 parent d52d2b3 commit 0014f65
1 file changed
+29
-11
lines changedLines changed: 29 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
117 | | - | |
| 121 | + | |
| 122 | + | |
118 | 123 | | |
119 | | - | |
| 124 | + | |
| 125 | + | |
120 | 126 | | |
121 | | - | |
| 127 | + | |
| 128 | + | |
122 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
123 | 134 | | |
124 | 135 | | |
125 | 136 | | |
| |||
153 | 164 | | |
154 | 165 | | |
155 | 166 | | |
156 | | - | |
| 167 | + | |
| 168 | + | |
157 | 169 | | |
158 | | - | |
| 170 | + | |
| 171 | + | |
159 | 172 | | |
160 | | - | |
| 173 | + | |
| 174 | + | |
161 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
162 | 180 | | |
163 | 181 | | |
164 | 182 | | |
| |||
454 | 472 | | |
455 | 473 | | |
456 | 474 | | |
457 | | - | |
| 475 | + | |
458 | 476 | | |
459 | | - | |
| 477 | + | |
460 | 478 | | |
461 | 479 | | |
462 | 480 | | |
463 | | - | |
| 481 | + | |
464 | 482 | | |
465 | | - | |
| 483 | + | |
466 | 484 | | |
467 | 485 | | |
468 | 486 | | |
| |||
0 commit comments