]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
um: Remove outdated comment about STUB_DATA_PAGES
authorTiwei Bie <tiwei.btw@antgroup.com>
Wed, 27 Aug 2025 00:57:02 +0000 (08:57 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 10 Sep 2025 12:23:49 +0000 (14:23 +0200)
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 <tiwei.btw@antgroup.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/include/shared/as-layout.h

index 2f9bfd99460adc0b7b239135d5922368d3851eb7..eacf18ec9d0cfd28f7e23b48c7269e9f4380f336 100644 (file)
@@ -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__