diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-11-28 16:19:37 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-01-10 13:49:33 +0100 |
commit | aa36314c2d08c47fe835e60c6cf72bf5d0ed4d68 (patch) | |
tree | e652b2c88ab169c01f8b78184941f2d7597c2cfd /arch/um/include/asm | |
parent | fc033cf25e612e840e545f8d5ad2edd6ba613ed5 (diff) |
um: Remove unused MODULES_LEN macro
It's not used anywhere. And its definition doesn't seem right.
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20241128081939.2216246-2-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/include/asm')
-rw-r--r-- | arch/um/include/asm/pgtable.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/asm/pgtable.h b/arch/um/include/asm/pgtable.h index 0bd60afcc37d..80338fca160d 100644 --- a/arch/um/include/asm/pgtable.h +++ b/arch/um/include/asm/pgtable.h @@ -52,7 +52,6 @@ extern unsigned long end_iomem; #define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE) #define MODULES_VADDR VMALLOC_START #define MODULES_END VMALLOC_END -#define MODULES_LEN (MODULES_VADDR - MODULES_END) #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) |