]> git.baikalelectronics.ru Git - kernel.git/commit
x86/CPU: Modify detect_extended_topology() to return result
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Fri, 27 Apr 2018 21:48:00 +0000 (16:48 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 6 May 2018 10:49:16 +0000 (12:49 +0200)
commit9e48c199291124f116b0617d88cc1c8265de4256
tree30c084c51a96b247edfba8dc79de2a7b7ab0f050
parent1064bf4b3e9c6142b01d050acf89186123b3f684
x86/CPU: Modify detect_extended_topology() to return result

Current implementation does not communicate whether it can successfully
detect CPUID function 0xB information. Therefore, modify the function to
return success or error codes. This will be used by subsequent patches.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1524865681-112110-2-git-send-email-suravee.suthikulpanit@amd.com
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/topology.c