From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932443AbdJXIuC (ORCPT ); Tue, 24 Oct 2017 04:50:02 -0400 Received: from terminus.zytor.com ([65.50.211.136]:46057 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751862AbdJXIt4 (ORCPT ); Tue, 24 Oct 2017 04:49:56 -0400 Date: Tue, 24 Oct 2017 01:48:48 -0700 From: tip-bot for Yanjiang Jin Message-ID: Cc: hpa@zytor.com, tglx@linutronix.de, mingo@kernel.org, yanjiang.jin@windriver.com, linux-kernel@vger.kernel.org Reply-To: linux-kernel@vger.kernel.org, mingo@kernel.org, yanjiang.jin@windriver.com, hpa@zytor.com, tglx@linutronix.de In-Reply-To: <20171024062341.179678-1-yanjiang.jin@windriver.com> References: <20171024062341.179678-1-yanjiang.jin@windriver.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:smp/hotplug] cpu/hotplug: Remove obsolete notifier macros Git-Commit-ID: c6cd924efe941ef62eb805c59e4a09e219ac5c6d X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: c6cd924efe941ef62eb805c59e4a09e219ac5c6d Gitweb: https://git.kernel.org/tip/c6cd924efe941ef62eb805c59e4a09e219ac5c6d Author: Yanjiang Jin AuthorDate: Tue, 24 Oct 2017 14:23:41 +0800 Committer: Thomas Gleixner CommitDate: Tue, 24 Oct 2017 10:43:52 +0200 cpu/hotplug: Remove obsolete notifier macros commit 530e9b76ae8f ("cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions")' removed the below macros: - #define CPU_UP_CANCELED 0x0004 /* CPU (unsigned)v NOT coming up */ - #define CPU_DOWN_PREPARE 0x0005 /* CPU (unsigned)v going down */ - #define CPU_DOWN_FAILED 0x0006 /* CPU (unsigned)v NOT going down */ But "CPU_UP_CANCELED_FROZEN, CPU_DOWN_PREPARE_FROZEN and CPU_DOWN_FAILED_FROZEN" still refer to them, and nobody uses these "FROZEN" macros now, so remove them too. Signed-off-by: Yanjiang Jin Signed-off-by: Thomas Gleixner Cc: peterz@infradead.org Cc: bigeasy@linutronix.de Cc: jinyanjiang@gmail.com Link: https://lkml.kernel.org/r/20171024062341.179678-1-yanjiang.jin@windriver.com --- include/linux/cpu.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/cpu.h b/include/linux/cpu.h index ca73bc1..cd4771b 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -72,9 +72,6 @@ struct notifier_block; #define CPU_ONLINE_FROZEN (CPU_ONLINE | CPU_TASKS_FROZEN) #define CPU_UP_PREPARE_FROZEN (CPU_UP_PREPARE | CPU_TASKS_FROZEN) -#define CPU_UP_CANCELED_FROZEN (CPU_UP_CANCELED | CPU_TASKS_FROZEN) -#define CPU_DOWN_PREPARE_FROZEN (CPU_DOWN_PREPARE | CPU_TASKS_FROZEN) -#define CPU_DOWN_FAILED_FROZEN (CPU_DOWN_FAILED | CPU_TASKS_FROZEN) #define CPU_DEAD_FROZEN (CPU_DEAD | CPU_TASKS_FROZEN) #ifdef CONFIG_SMP