From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752308AbdHGRls (ORCPT ); Mon, 7 Aug 2017 13:41:48 -0400 Received: from mx0a-00010702.pphosted.com ([148.163.156.75]:48777 "EHLO mx0b-00010702.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751857AbdHGRlp (ORCPT ); Mon, 7 Aug 2017 13:41:45 -0400 From: Julia Cartwright To: , CC: Thomas Gleixner , Steven Rostedt , Carsten Emde , "Sebastian Andrzej Siewior" , John Kacur , "Paul Gortmaker" , , "Peter Zijlstra" Subject: [PATCH RT 4/6] sched: Remove TASK_ALL Date: Mon, 7 Aug 2017 12:41:00 -0500 Message-ID: <20170807174102.5448-5-julia@ni.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170807174102.5448-1-julia@ni.com> References: <20170807174102.5448-1-julia@ni.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-07_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=30 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=30 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1708070291 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.1.42-rt50-rc1 stable review patch. If you have any objection to the inclusion of this patch, let me know. --- 8< --- 8< --- 8< --- From: Peter Zijlstra It's unused: $ git grep "\" | wc -l 1 And dangerous, kill the bugger. Cc: stable-rt@vger.kernel.org Acked-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit a1762267d95649bddf6e94e7e3305e0207d0fff0) Signed-off-by: Julia Cartwright --- include/linux/sched.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index d51525ce2c41..7587d6181cd2 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -227,7 +227,6 @@ extern char ___assert_task_state[1 - 2*!!( /* Convenience macros for the sake of wake_up */ #define TASK_NORMAL (TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE) -#define TASK_ALL (TASK_NORMAL | __TASK_STOPPED | __TASK_TRACED) /* get_task_state() */ #define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \ -- 2.13.1