From: Tiwei Bie Date: Wed, 27 Aug 2025 00:57:02 +0000 (+0800) Subject: um: Remove outdated comment about STUB_DATA_PAGES X-Git-Tag: v6.18-rc1~57^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b765d69a1adf83b969f1f0c8353b80c3c18ef2f7;p=thirdparty%2Fkernel%2Flinux.git um: Remove outdated comment about STUB_DATA_PAGES STUB_DATA_PAGES is no longer required to be a power of two since commit 91f0a0c5cc5b ("um: Calculate stub data address relative to stub code"). Remove the outdated comment. Signed-off-by: Tiwei Bie Signed-off-by: Johannes Berg --- diff --git a/arch/um/include/shared/as-layout.h b/arch/um/include/shared/as-layout.h index 2f9bfd99460a..eacf18ec9d0c 100644 --- a/arch/um/include/shared/as-layout.h +++ b/arch/um/include/shared/as-layout.h @@ -23,7 +23,7 @@ #define STUB_START stub_start #define STUB_CODE STUB_START #define STUB_DATA (STUB_CODE + UM_KERN_PAGE_SIZE) -#define STUB_DATA_PAGES 2 /* must be a power of two */ +#define STUB_DATA_PAGES 2 #define STUB_END (STUB_DATA + STUB_DATA_PAGES * UM_KERN_PAGE_SIZE) #ifndef __ASSEMBLER__