m68k: mm: fix wrong m68k_fixup_info addresses
PATCH 1/1 m68k: mm: fix wrong m68k_fixup_info addresses
After rebasing today with mainline/master, i am hitting this issue again:
https://www.spinics.net/lists/linux-m68k/msg15881.html
Loading Ramdisk to 47ccc000, end 47d85544 ... OK
...
initrd at 0x47ccc000:0x47d85544
overlap at 1073741889 for chunk 0
overlap at 1073746200 for chunk 0
overlap at 1073746760 for chunk 0
overlap at 1073746761 for chunk 0
overlap at 1073746762 for chunk 0
overlap at 1073746763 for chunk 0
overlap at 1073746764 for chunk 0
This time i am using gcc-10.1.0-nolibc, but the issue re-appeared. Add volatile again to solve the issue.
Signed-off-by Angelo Dureghello <[email protected]>
--- arch/m68k/include/asm/page_mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/include/asm/page_mm.h +1 -1
@@ -135,7 +135,7 @@ static inline __attribute_const__ int __virt_to_node_shift(void) {int shift; - asm ( + asm volatile ( "1: moveq #0,%0\n" m68k_fixup(%c1, 1b) : "=d" (shift)
Signature · 1 line
2.28.0