Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -1
+1 -1
arch/microblaze/kernel/cpu/pvr.c
··· 27 27 register unsigned tmp __asm__("r3"); \ 28 28 tmp = 0x0; /* Prevent warning about unused */ \ 29 29 __asm__ __volatile__ ( \ 30 - ".byte 0x94,0x60,0xa0, " #pvrid "\n\t" \ 30 + "mfs %0, rpvr" #pvrid ";" \ 31 31 : "=r" (tmp) : : "memory"); \ 32 32 val = tmp; \ 33 33 }