diff options
| author | Noam Camus <[email protected]> | 2016-10-19 11:25:03 +0000 |
|---|---|---|
| committer | Vineet Gupta <[email protected]> | 2016-10-19 17:01:55 +0000 |
| commit | 3da43104d3187184d7417569cb3360511229f761 (patch) | |
| tree | c749270ed6b3f0e941835d13be3bf5e9f6946da4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | ARC: [build] Support gz, lzma compressed uImage (diff) | |
| download | kernel-3da43104d3187184d7417569cb3360511229f761.tar.gz kernel-3da43104d3187184d7417569cb3360511229f761.zip | |
ARC: Adjust cpuinfo for non-continuous cpu ids
num_possible_cpus() returns how many CPUs may be present on system.
However we want the highest possible CPU number.
This may be differ in a sparsed possible CPUs map.
Such map achived by OF for plat-eznps.
For example if we have:
possible cpus mask 0,3
Then:
num_possible_cpus() is equal 2
while
nr_cpu_ids is equal 4.
Only for value 4 c_start() will provide correct cpuinfo at procfs.
Signed-off-by: Noam Camus <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
