Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756377AbcDBAzG (ORCPT ); Fri, 1 Apr 2016 20:55:06 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:53875 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756251AbcDBAy4 (ORCPT ); Fri, 1 Apr 2016 20:54:56 -0400 From: Kamal Mostafa To: linux-kernel@vger.kernel.org, stable@vger.kernel.org, kernel-team@lists.ubuntu.com Cc: "Paul E . McKenney" , Borislav Petkov , Andrew Morton , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Kamal Mostafa Subject: [PATCH 3.19.y-ckt 019/170] cpu: Provide smpboot_thread_init() on !CONFIG_SMP kernels as well Date: Fri, 1 Apr 2016 17:51:45 -0700 Message-Id: <1459558456-24452-20-git-send-email-kamal@canonical.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1459558456-24452-1-git-send-email-kamal@canonical.com> References: <1459558456-24452-1-git-send-email-kamal@canonical.com> X-Extended-Stable: 3.19 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1207 Lines: 43 3.19.8-ckt18 -stable review patch. If anyone has any objections, please let me know. ---8<------------------------------------------------------------ From: Ingo Molnar commit 590ee7dbd569a012df705a5204fc5f1066f52b8c upstream. Now that we are using smpboot_thread_init() in init/main.c as well, provide it for !CONFIG_SMP as well. This addresses a !CONFIG_SMP build failure. Cc: Paul E. McKenney Cc: Borislav Petkov Cc: Andrew Morton Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar Signed-off-by: Kamal Mostafa --- include/linux/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/cpu.h b/include/linux/cpu.h index f1b8f4a..5bc8280 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -210,6 +210,10 @@ static inline void cpu_notifier_register_done(void) { } +static inline void smpboot_thread_init(void) +{ +} + #endif /* CONFIG_SMP */ extern struct bus_type cpu_subsys; -- 2.7.4