All of lore.kernel.org
 help / color / mirror / Atom feed
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,
	christophe.leroy@csgroup.eu, hca@linux.ibm.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 <guoren@linux.alibaba.com>
Subject: [PATCH V3 7/8] sched: arm64: Remove unused TASK_SIZE_OF
Date: Tue, 28 Dec 2021 14:47:28 +0800	[thread overview]
Message-ID: <20211228064730.2882351-8-guoren@kernel.org> (raw)
In-Reply-To: <20211228064730.2882351-1-guoren@kernel.org>

From: Guo Ren <guoren@linux.alibaba.com>

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 <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm64/include/asm/processor.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index 6f41b65f9962..d24dfb49237d 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -65,8 +65,6 @@
 #endif /* CONFIG_ARM64_64K_PAGES */
 #define TASK_SIZE		(test_thread_flag(TIF_32BIT) ? \
 				TASK_SIZE_32 : TASK_SIZE_64)
-#define TASK_SIZE_OF(tsk)	(test_tsk_thread_flag(tsk, TIF_32BIT) ? \
-				TASK_SIZE_32 : TASK_SIZE_64)
 #define DEFAULT_MAP_WINDOW	(test_thread_flag(TIF_32BIT) ? \
 				TASK_SIZE_32 : DEFAULT_MAP_WINDOW_64)
 #else
-- 
2.25.1


WARNING: multiple messages have this Message-ID (diff)
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,
	christophe.leroy@csgroup.eu, hca@linux.ibm.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 <guoren@linux.alibaba.com>
Subject: [PATCH V3 7/8] sched: arm64: Remove unused TASK_SIZE_OF
Date: Tue, 28 Dec 2021 14:47:28 +0800	[thread overview]
Message-ID: <20211228064730.2882351-8-guoren@kernel.org> (raw)
In-Reply-To: <20211228064730.2882351-1-guoren@kernel.org>

From: Guo Ren <guoren@linux.alibaba.com>

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 <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm64/include/asm/processor.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index 6f41b65f9962..d24dfb49237d 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -65,8 +65,6 @@
 #endif /* CONFIG_ARM64_64K_PAGES */
 #define TASK_SIZE		(test_thread_flag(TIF_32BIT) ? \
 				TASK_SIZE_32 : TASK_SIZE_64)
-#define TASK_SIZE_OF(tsk)	(test_tsk_thread_flag(tsk, TIF_32BIT) ? \
-				TASK_SIZE_32 : TASK_SIZE_64)
 #define DEFAULT_MAP_WINDOW	(test_thread_flag(TIF_32BIT) ? \
 				TASK_SIZE_32 : DEFAULT_MAP_WINDOW_64)
 #else
-- 
2.25.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

WARNING: multiple messages have this Message-ID (diff)
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,
	christophe.leroy@csgroup.eu, hca@linux.ibm.com
Cc: linux-s390@vger.kernel.org, Guo Ren <guoren@linux.alibaba.com>,
	x86@kernel.org, linux-kernel@vger.kernel.org,
	sparclinux@vger.kernel.or, linux-mips@vger.kernel.org,
	linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org,
	inux-parisc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH V3 7/8] sched: arm64: Remove unused TASK_SIZE_OF
Date: Tue, 28 Dec 2021 14:47:28 +0800	[thread overview]
Message-ID: <20211228064730.2882351-8-guoren@kernel.org> (raw)
In-Reply-To: <20211228064730.2882351-1-guoren@kernel.org>

From: Guo Ren <guoren@linux.alibaba.com>

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 <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm64/include/asm/processor.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index 6f41b65f9962..d24dfb49237d 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -65,8 +65,6 @@
 #endif /* CONFIG_ARM64_64K_PAGES */
 #define TASK_SIZE		(test_thread_flag(TIF_32BIT) ? \
 				TASK_SIZE_32 : TASK_SIZE_64)
-#define TASK_SIZE_OF(tsk)	(test_tsk_thread_flag(tsk, TIF_32BIT) ? \
-				TASK_SIZE_32 : TASK_SIZE_64)
 #define DEFAULT_MAP_WINDOW	(test_thread_flag(TIF_32BIT) ? \
 				TASK_SIZE_32 : DEFAULT_MAP_WINDOW_64)
 #else
-- 
2.25.1


WARNING: multiple messages have this Message-ID (diff)
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,
	christophe.leroy@csgroup.eu, hca@linux.ibm.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 <guoren@linux.alibaba.com>
Subject: [PATCH V3 7/8] sched: arm64: Remove unused TASK_SIZE_OF
Date: Tue, 28 Dec 2021 14:47:28 +0800	[thread overview]
Message-ID: <20211228064730.2882351-8-guoren@kernel.org> (raw)
In-Reply-To: <20211228064730.2882351-1-guoren@kernel.org>

From: Guo Ren <guoren@linux.alibaba.com>

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 <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm64/include/asm/processor.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index 6f41b65f9962..d24dfb49237d 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -65,8 +65,6 @@
 #endif /* CONFIG_ARM64_64K_PAGES */
 #define TASK_SIZE		(test_thread_flag(TIF_32BIT) ? \
 				TASK_SIZE_32 : TASK_SIZE_64)
-#define TASK_SIZE_OF(tsk)	(test_tsk_thread_flag(tsk, TIF_32BIT) ? \
-				TASK_SIZE_32 : TASK_SIZE_64)
 #define DEFAULT_MAP_WINDOW	(test_thread_flag(TIF_32BIT) ? \
 				TASK_SIZE_32 : DEFAULT_MAP_WINDOW_64)
 #else
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-12-28  6:48 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28  6:47 [PATCH V3 0/8] sched: Remove unused TASK_SIZE_OF for all archs guoren
2021-12-28  6:47 ` guoren
2021-12-28  6:47 ` guoren
2021-12-28  6:47 ` guoren
2021-12-28  6:47 ` [PATCH V3 1/8] sched: Remove unused TASK_SIZE_OF guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47 ` [PATCH V3 2/8] sched: x86: " guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47 ` [PATCH V3 3/8] sched: sparc: " guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47 ` [PATCH V3 4/8] sched: powerpc: " guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47 ` [PATCH V3 5/8] sched: s390: " guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28 17:00   ` Heiko Carstens
2021-12-28 17:00     ` Heiko Carstens
2021-12-28 17:00     ` Heiko Carstens
2021-12-28 17:00     ` Heiko Carstens
2021-12-28  6:47 ` [PATCH V3 6/8] sched: parisc: " guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47 ` guoren [this message]
2021-12-28  6:47   ` [PATCH V3 7/8] sched: arm64: " guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47 ` [PATCH V3 8/8] sched: mips: " guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2021-12-28  6:47   ` guoren
2022-01-10  1:50 ` (subset) [PATCH V3 0/8] sched: Remove unused TASK_SIZE_OF for all archs Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211228064730.2882351-8-guoren@kernel.org \
    --to=guoren@kernel.org \
    --cc=arnd@arndb.de \
    --cc=benh@kernel.crashing.org \
    --cc=christophe.leroy@csgroup.eu \
    --cc=guoren@linux.alibaba.com \
    --cc=hca@linux.ibm.com \
    --cc=inux-parisc@vger.kernel.org \
    --cc=juri.lelli@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=sparclinux@vger.kernel.or \
    --cc=tglx@linutronix.de \
    --cc=will@kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.