[PATCH] m68k: mm: fix wrong m68k_fixup_info addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <angelo.dureghello@xxxxxxxxxxx>
---
 arch/m68k/include/asm/page_mm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/include/asm/page_mm.h b/arch/m68k/include/asm/page_mm.h
index e6b75992192b..1eff386cc64b 100644
--- a/arch/m68k/include/asm/page_mm.h
+++ b/arch/m68k/include/asm/page_mm.h
@@ -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)
-- 
2.28.0




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux