Skip to content

Commit b765d69

Browse files
btw616jmberg-intel
authored andcommitted
um: Remove outdated comment about STUB_DATA_PAGES
STUB_DATA_PAGES is no longer required to be a power of two since commit 91f0a0c ("um: Calculate stub data address relative to stub code"). Remove the outdated comment. Signed-off-by: Tiwei Bie <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent 78624eb commit b765d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/um/include/shared/as-layout.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#define STUB_START stub_start
2424
#define STUB_CODE STUB_START
2525
#define STUB_DATA (STUB_CODE + UM_KERN_PAGE_SIZE)
26-
#define STUB_DATA_PAGES 2 /* must be a power of two */
26+
#define STUB_DATA_PAGES 2
2727
#define STUB_END (STUB_DATA + STUB_DATA_PAGES * UM_KERN_PAGE_SIZE)
2828

2929
#ifndef __ASSEMBLER__

0 commit comments

Comments
 (0)