From patchwork Tue Dec 21 17:00:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Ren X-Patchwork-Id: 12690131 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B05E2C4332F for ; Tue, 21 Dec 2021 17:01:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240205AbhLURBe (ORCPT ); Tue, 21 Dec 2021 12:01:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240154AbhLURBd (ORCPT ); Tue, 21 Dec 2021 12:01:33 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B278C06173F; Tue, 21 Dec 2021 09:01:32 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5ABEFB811EF; Tue, 21 Dec 2021 17:01:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12666C36AEA; Tue, 21 Dec 2021 17:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640106090; bh=21+K8fAisVvzD89O507BazhTiVK3e2SzmbL55P10Iuk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y1OS/PO+yvJI/bKgEMBVmfoC8xvxNIheoQmJpV42TA5ec+u8S5T/x1fdLb0hsigyD KBD8N9nQjxYvk95eA9zbLUMFvqbRNJSKX3ew9qlmxEhJY5JfVWKFtr4N1+uG3NKMaM JAX2pbFs3tg0Megdetl7llVWiT/imMIoJdsGjFdfamzdZlkGnd6+wvQOCJYiIDmHlp 8pcfZjJF1rR4SiObVwlzCFr/aBo/ROB6IyYczCzMIVpc1OGOXbArI/X9ZDXc7x3fWi A0CAjJNtSjjBfDxaomCqyqkAXNHx/wU/OouL8BQZmX6ACLPQrCacoqCsKvhvOjHKEC 2K1suEEmaHOZg== From: guoren@kernel.org To: guoren@kernel.org, will@kernel.org, tglx@linutronix.de, benh@kernel.crashing.org, arnd@arndb.de, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.or, linuxppc-dev@lists.ozlabs.org, inux-parisc@vger.kernel.org, linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org, x86@kernel.org, Guo Ren Subject: [PATCH 5/8] sched: s390: Remove unused TASK_SIZE_OF Date: Wed, 22 Dec 2021 01:00:54 +0800 Message-Id: <20211221170057.2637763-6-guoren@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211221170057.2637763-1-guoren@kernel.org> References: <20211221170057.2637763-1-guoren@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren --- arch/s390/include/asm/processor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h index f54c152bf2bf..605bc57a5ffc 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h @@ -88,11 +88,10 @@ extern void __bpon(void); * User space process size: 2GB for 31 bit, 4TB or 8PT for 64 bit. */ -#define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk, TIF_31BIT) ? \ +#define TASK_SIZE (test_tsk_thread_flag(current, TIF_31BIT) ? \ _REGION3_SIZE : TASK_SIZE_MAX) #define TASK_UNMAPPED_BASE (test_thread_flag(TIF_31BIT) ? \ (_REGION3_SIZE >> 1) : (_REGION2_SIZE >> 1)) -#define TASK_SIZE TASK_SIZE_OF(current) #define TASK_SIZE_MAX (-PAGE_SIZE) #define STACK_TOP (test_thread_flag(TIF_31BIT) ? \