Skip to content

Commit a7d8355

Browse files
committed
microblaze: Remove hardcoded asm instraction for PVR loading
It comes from past where pvr wasn't supported in msr instruction. Signed-off-by: Michal Simek <monstr@monstr.eu>
1 parent 92ee8bd commit a7d8355

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/microblaze/kernel/cpu

‎arch/microblaze/kernel/cpu/pvr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
register unsigned tmp __asm__("r3"); \
2828
tmp = 0x0; /* Prevent warning about unused */ \
2929
__asm__ __volatile__ ( \
30-
".byte 0x94,0x60,0xa0, " #pvrid "\n\t" \
30+
"mfs %0, rpvr" #pvrid ";" \
3131
: "=r" (tmp) : : "memory"); \
3232
val = tmp; \
3333
}

0 commit comments

Comments
 (0)