diff options
| author | Huacai Chen <[email protected]> | 2024-10-21 14:11:19 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2024-10-21 14:11:19 +0000 |
| commit | 2ed119aef60d73d00371195fc84dd68248071100 (patch) | |
| tree | abdefd6f38aeb74fef869922c401c06eb48fe8c5 /drivers/fpga/zynq-fpga.c | |
| parent | LoongArch: Enable IRQ if do_ale() triggered in irq-enabled context (diff) | |
| download | kernel-2ed119aef60d73d00371195fc84dd68248071100.tar.gz kernel-2ed119aef60d73d00371195fc84dd68248071100.zip | |
LoongArch: Set correct size for vDSO code mapping
The current size of vDSO code mapping is hardcoded to PAGE_SIZE. This
cannot work for 4KB page size after commit 18efd0b10e0fd77 ("LoongArch:
vDSO: Wire up getrandom() vDSO implementation") because the code size
increases to 8KB. Thus set the code mapping size to its real size, i.e.
PAGE_ALIGN(vdso_end - vdso_start).
Fixes: 18efd0b10e0fd77 ("LoongArch: vDSO: Wire up getrandom() vDSO implementation")
Reviewed-by: Xi Ruoyao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
