From patchwork Mon Mar 11 16:46:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pasha Tatashin X-Patchwork-Id: 13589077 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF336C54E58 for ; Mon, 11 Mar 2024 16:46:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 08AB46B00CA; Mon, 11 Mar 2024 12:46:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 012356B00CB; Mon, 11 Mar 2024 12:46:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D585B6B00CC; Mon, 11 Mar 2024 12:46:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id C73536B00CA for ; Mon, 11 Mar 2024 12:46:48 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 934141203EC for ; Mon, 11 Mar 2024 16:46:48 +0000 (UTC) X-FDA: 81885337296.08.B4801DF Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by imf08.hostedemail.com (Postfix) with ESMTP id F0D1616002A for ; Mon, 11 Mar 2024 16:46:46 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=soleen-com.20230601.gappssmtp.com header.s=20230601 header.b=QiN85uq8; spf=pass (imf08.hostedemail.com: domain of pasha.tatashin@soleen.com designates 209.85.167.171 as permitted sender) smtp.mailfrom=pasha.tatashin@soleen.com; dmarc=pass (policy=none) header.from=soleen.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1710175607; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=4lhjThGfB91n24i50IPCohz8k1KRXdDof+Lt/uTAI2U=; b=U/tk8nhuvYGrKlkjk5LuvYIMwbDh+3YBdpnUa1/9YlamAfgg55nWuyGz/SZ/9bSiwZgJ91 AcevNR2jD+5ImnJrsKmChaMx8teWfYSMtogJ7QHbHYjq4nxSBlJJ4UJyGYvbMzwX8IaB73 hDZf/k47Upv4WjEbvDrYz/KP3Hi3Z7s= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1710175607; a=rsa-sha256; cv=none; b=lv7YIe0/Y3Syb4JcnMLuiuOfA46Xjyt1O4QcLI+0y+AVmXo51nemw4ymBYUBSCba3Ey6Q0 9iLX169JR5xf0k5/docSSu75P6kolOTdAbzkAptI1N7YAr/PIf+e+qWCrGyD13eYaiujcy iRr32ik2P7u7Jj6EmskL2W0FnAnuMHc= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=soleen-com.20230601.gappssmtp.com header.s=20230601 header.b=QiN85uq8; spf=pass (imf08.hostedemail.com: domain of pasha.tatashin@soleen.com designates 209.85.167.171 as permitted sender) smtp.mailfrom=pasha.tatashin@soleen.com; dmarc=pass (policy=none) header.from=soleen.com Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-3c1ea5e54d3so2666753b6e.0 for ; Mon, 11 Mar 2024 09:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen-com.20230601.gappssmtp.com; s=20230601; t=1710175606; x=1710780406; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=4lhjThGfB91n24i50IPCohz8k1KRXdDof+Lt/uTAI2U=; b=QiN85uq8UaYli18XK5rBGA+FSRzp3hOXZf591SCilHnDZwKS4m96nMqQbAcDvyVDXc H8D9v97Hco9O0/ihHiuLCSY03x0XbvvXxyWt+ytcieSuVrJA5hYrQy05AcH9mZF/xZDB UJFRdsmL3aO0XSY3AZC2cZCvtgHzO/jhhc6IsNsBjA+NfwOk0gopOmT+6C0hVQxcyYo9 ruKLS/HvAhVAUSGNpI4JrIwLR9DuaKJxTzaY2vkPR6YTzcinvFOoMxVUXpLDE8DrbAyO fN/YNjPKFVwPCvMvzGk/rYz1axls4/rxzBPTtTmRauoGZ4zeZXQ6QTXNeC5fCDXoVXF+ +dXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710175606; x=1710780406; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4lhjThGfB91n24i50IPCohz8k1KRXdDof+Lt/uTAI2U=; b=acgH52WkgrOh+zFYwuo7kD5h+O/5W/2GzThEI3C+079XtmHcqFAd/jOXrbX7siO6nk yvu9WQwbz1ZkUYnSn5Dh08ktilqD9xHSQ4gNhv0gHANdnbKdYMFcSjA2eEokeEdlwgdn 1sH055seuS9OoR97DdcaFsDtDZQ5u9CwykqYSLj6aebexIZOhL1hiP18ystbtiYU5BR7 iRwaDcvvjlSAX2ZXqfU1yE2vCgXmoEDm1B72E3/vUdS2SSYucBGzQBAtbATOV1mfN7fO SaOObTPrl4ti9c7qNnBlSZCqXRwkZIulA0Jv1v6HJYofWbyG2drz1o06hYLh01Oh2Sow JO+w== X-Forwarded-Encrypted: i=1; AJvYcCW/UW7cwighXhCMM70VGgMTCmPBj+ADLFoqMS5qoFmSsI7XMnmnizj+PDiCmRyj3jxteOLPpt/bkGCLgJsRGjeZKh4= X-Gm-Message-State: AOJu0YxzfToeE8CLd/urPhZRP9kr2q9fvecPQG8omviGns/12WaYHH6a 84jCSBInSkbRErhaEF7MDZteDv3WOZkBkj6Yolc9Kbykg/MQabBz9JW40O3DVfvCOzjHt2Ph4fH BcX0= X-Google-Smtp-Source: AGHT+IEjg4Cv5VbQxeFt499tiStDwxoTwSUC+FAOlU+MVjKFmojDB4eSoAwzE63CJMnyaPIAjMQShA== X-Received: by 2002:a05:6808:ecd:b0:3c2:39d1:f105 with SMTP id q13-20020a0568080ecd00b003c239d1f105mr8453793oiv.11.1710175604451; Mon, 11 Mar 2024 09:46:44 -0700 (PDT) Received: from soleen.c.googlers.com.com (150.254.86.34.bc.googleusercontent.com. [34.86.254.150]) by smtp.gmail.com with ESMTPSA id d27-20020a05620a137b00b00788228fbe05sm2851589qkl.17.2024.03.11.09.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 09:46:44 -0700 (PDT) From: Pasha Tatashin To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, x86@kernel.org, bp@alien8.de, brauner@kernel.org, bristot@redhat.com, bsegall@google.com, dave.hansen@linux.intel.com, dianders@chromium.org, dietmar.eggemann@arm.com, eric.devolder@oracle.com, hca@linux.ibm.com, hch@infradead.org, hpa@zytor.com, jacob.jun.pan@linux.intel.com, jgg@ziepe.ca, jpoimboe@kernel.org, jroedel@suse.de, juri.lelli@redhat.com, kent.overstreet@linux.dev, kinseyho@google.com, kirill.shutemov@linux.intel.com, lstoakes@gmail.com, luto@kernel.org, mgorman@suse.de, mic@digikod.net, michael.christie@oracle.com, mingo@redhat.com, mjguzik@gmail.com, mst@redhat.com, npiggin@gmail.com, peterz@infradead.org, pmladek@suse.com, rick.p.edgecombe@intel.com, rostedt@goodmis.org, surenb@google.com, tglx@linutronix.de, urezki@gmail.com, vincent.guittot@linaro.org, vschneid@redhat.com, pasha.tatashin@soleen.com Subject: [RFC 01/14] task_stack.h: remove obsolete __HAVE_ARCH_KSTACK_END check Date: Mon, 11 Mar 2024 16:46:25 +0000 Message-ID: <20240311164638.2015063-2-pasha.tatashin@soleen.com> X-Mailer: git-send-email 2.44.0.278.ge034bb2e1d-goog In-Reply-To: <20240311164638.2015063-1-pasha.tatashin@soleen.com> References: <20240311164638.2015063-1-pasha.tatashin@soleen.com> MIME-Version: 1.0 X-Stat-Signature: 1iy13sra694h5e5x4k43nnkeg8noycfn X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: F0D1616002A X-Rspam-User: X-HE-Tag: 1710175606-26452 X-HE-Meta: U2FsdGVkX187xJJNtEX/nXMlkwJaBoq9Q//zcKKViNuxQ+q+nhg1u0Q2FtwWmV+r6ZmkDHQARPJoxur0ORqZ+VNoVvXOJX2OXId5Il8tKuPcFSFlWkbSGH29+7qpq7ADa/A7q45q7Xrjy0VMxlnpXwUqyBgT2K/Ho/hN1QD9iFPizI9dDkwShEC9eK3DcT3AQq0SpEtFBYGqv3JKwwWUx8CXaWqpHCqZVr9X9wkE0KwNgNfx2Jsr6bd4QGV86AAll/q1Zk0yyOrVFj1+Gh5sv1LYc+0/hbV2hgD+XhS/afQ4AgRV1vKUUL0ZzLt9g/A89zD1NKEVWveHAkoBq5uwwfIf35SwPsF6PWyxbNYm8w4j53jhwcQN9J8xxgb070Bmx9qWIJFINOpPKL8vnzwbka2/zTe2VNg0BszoxqDdOR0eCTngt1B0RFLE846n63noqNOTUcWvW6oc0fpIhy3WRuzwdA2rUca9NyRsDV50GwaUeiSbXY5PrRppEmNdQxOFRu8PuxoTKB4AwWLhPvmOlOKA9ePKdS7S+3xtB+hnlmndN+wgiS61ZawI3IgeMBERgObpXGMAJZC/SL7fdnw6DxX+j2UKXqIOSEgMzKJbPZwrdM9Ty29s15dpF0/KsPbSwVcUZ+x7sT78C//CXwF5rTlqQkNtvLWppNYHXk+FWBtKGzlCJh6v3Y4xXLkc+nIeKqbGfbHC2CqzpNBQqv9yznw9dVrnsovRqseO9RDczP+ZFJNhAnwjhq18jFIeIoqnCq4k/hXFEbl0KEP1IEYBOGlzvVZRlgv0TN6bz1dAkAozNPjfsHx5n745gyDvG7bzafsedMtMjpbu/ThSQDa6LC8HhHrkubRt7gSLrsOxNVM6tfC9HFuE+VrupY7yRaJdn+IwycY0+DTkT18GZXVHFGLtWpwMRww+uIST0wVqElXoHWVr/uKumRBpSZryjI4Ce/ZfJdrRdG3nG630cmw O0FQ0Mdi nQ9Wp/9AfFerxuRo8ojyWrF4YG3ZdhYPg/zdtT0zravfLZTk5B42EHiq7uyIpev96YMJQyVypAiRcR6GnVfg4/EVEpIkLR4Z5MqLRtoGX5f02yeA3xI5b/+26LPbpO0lR99FlquCeauNn+zsGJ5M7saug1MxpQbf+6b8mPYouZfI3F90rn4lwoyaeDRV3ZcJvYYYb+mEVXGVfIF0Fbr5zw3g5K2sRGBaQxwSH X-Bogosity: Ham, tests=bogofilter, spamicity=0.000016, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Remove __HAVE_ARCH_KSTACK_END as it has been osolete since removal of metag architecture in v4.17. Signed-off-by: Pasha Tatashin --- include/linux/sched/task_stack.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/sched/task_stack.h b/include/linux/sched/task_stack.h index ccd72b978e1f..860faea06883 100644 --- a/include/linux/sched/task_stack.h +++ b/include/linux/sched/task_stack.h @@ -116,7 +116,6 @@ static inline unsigned long stack_not_used(struct task_struct *p) #endif extern void set_task_stack_end_magic(struct task_struct *tsk); -#ifndef __HAVE_ARCH_KSTACK_END static inline int kstack_end(void *addr) { /* Reliable end of stack detection: @@ -124,6 +123,5 @@ static inline int kstack_end(void *addr) */ return !(((unsigned long)addr+sizeof(void*)-1) & (THREAD_SIZE-sizeof(void*))); } -#endif #endif /* _LINUX_SCHED_TASK_STACK_H */