[PATCH 1/4] x86: move arch_cpu_uevent() to generic code

2013-11-11 Thread Ard Biesheuvel
Only x86 implements arch_cpu_uevent(), and there is nothing arch specific about it, so move it to drivers/base/cpu.c. Signed-off-by: Ard Biesheuvel --- arch/x86/kernel/cpu/match.c | 11 --- drivers/base/cpu.c | 15 ++- include/linux/cpu.h | 1 - 3 files chan

[RFC PATCH 1/4] x86: move arch_cpu_uevent() to generic code

2013-11-07 Thread Ard Biesheuvel
Only x86 implements arch_cpu_uevent(), and there is nothing arch specific about it, so move it to drivers/base/cpu.c. Signed-off-by: Ard Biesheuvel --- arch/x86/kernel/cpu/match.c | 11 --- drivers/base/cpu.c | 15 ++- include/linux/cpu.h | 1 - 3 files chan