diff options
Diffstat (limited to 'system/easy-kernel/0204-sparc-warray-fix.patch')
-rw-r--r-- | system/easy-kernel/0204-sparc-warray-fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/easy-kernel/0204-sparc-warray-fix.patch b/system/easy-kernel/0204-sparc-warray-fix.patch new file mode 100644 index 000000000..f93935552 --- /dev/null +++ b/system/easy-kernel/0204-sparc-warray-fix.patch @@ -0,0 +1,17 @@ +--- a/arch/sparc/mm/init_64.c 2022-05-24 16:48:40.749677491 -0400 ++++ b/arch/sparc/mm/init_64.c 2022-05-24 16:55:15.511356945 -0400 +@@ -3052,11 +3052,11 @@ static inline resource_size_t compute_ke + static void __init kernel_lds_init(void) + { + code_resource.start = compute_kern_paddr(_text); +- code_resource.end = compute_kern_paddr(_etext - 1); ++ code_resource.end = compute_kern_paddr(_etext) - 1; + data_resource.start = compute_kern_paddr(_etext); +- data_resource.end = compute_kern_paddr(_edata - 1); ++ data_resource.end = compute_kern_paddr(_edata) - 1; + bss_resource.start = compute_kern_paddr(__bss_start); +- bss_resource.end = compute_kern_paddr(_end - 1); ++ bss_resource.end = compute_kern_paddr(_end) - 1; + } + + static int __init report_memory(void) |