diff options
| author | Tiwei Bie <[email protected]> | 2024-09-16 04:59:49 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-10-10 10:02:13 +0000 |
| commit | cd05cbed42b73168b0772b83bc24769fea3871bf (patch) | |
| tree | f4a16ce3bd876e650a983f9abd6e6b7830bbc59c /arch/um/include/shared/mem_user.h | |
| parent | um: Fix potential integer overflow during physmem setup (diff) | |
| download | kernel-cd05cbed42b73168b0772b83bc24769fea3871bf.tar.gz kernel-cd05cbed42b73168b0772b83bc24769fea3871bf.zip | |
um: Remove highmem leftovers
Highmem was only supported on UML/i386. And the support has been
removed by commit a98a6d864d3b ("um: Remove broken highmem support").
Remove the leftovers and stop UML from trying to setup highmem when
the sum of physmem_size and iomem_size exceeds max_physmem.
Signed-off-by: Tiwei Bie <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'arch/um/include/shared/mem_user.h')
| -rw-r--r-- | arch/um/include/shared/mem_user.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/include/shared/mem_user.h b/arch/um/include/shared/mem_user.h index 11a723a58545..adfa08062f88 100644 --- a/arch/um/include/shared/mem_user.h +++ b/arch/um/include/shared/mem_user.h @@ -47,10 +47,9 @@ extern int iomem_size; #define ROUND_4M(n) ((((unsigned long) (n)) + (1 << 22)) & ~((1 << 22) - 1)) extern unsigned long find_iomem(char *driver, unsigned long *len_out); -extern void mem_total_pages(unsigned long physmem, unsigned long iomem, - unsigned long highmem); +extern void mem_total_pages(unsigned long physmem, unsigned long iomem); extern void setup_physmem(unsigned long start, unsigned long usable, - unsigned long len, unsigned long long highmem); + unsigned long len); extern void map_memory(unsigned long virt, unsigned long phys, unsigned long len, int r, int w, int x); |
