arm64: remove unneeded BUILD_BUG_ON assertion
authorDawei Li <dawei.li@shingroup.cn>
Fri, 2 Feb 2024 04:02:11 +0000 (12:02 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 22 Feb 2024 11:02:51 +0000 (11:02 +0000)
commitbce79b0c8097ae8b9ad38d7cb8522b80a9b8ee00
tree09bbc299277e629c3cc023846ef0b3ae6bda7b9a
parent253751233b19b58b1d361388c8d2b40c940e729c
arm64: remove unneeded BUILD_BUG_ON assertion

Since commit c02433dd6de3 ("arm64: split thread_info from task stack"),
CONFIG_THREAD_INFO_IN_TASK is enabled unconditionally for arm64. So
remove this always-true assertion from arch_dup_task_struct.

Signed-off-by: Dawei Li <dawei.li@shingroup.cn>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20240202040211.3118918-1-dawei.li@shingroup.cn
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/process.c