mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
92ee8bd468
commit
a7d8355008
|
@ -27,7 +27,7 @@
|
|||
register unsigned tmp __asm__("r3"); \
|
||||
tmp = 0x0; /* Prevent warning about unused */ \
|
||||
__asm__ __volatile__ ( \
|
||||
".byte 0x94,0x60,0xa0, " #pvrid "\n\t" \
|
||||
"mfs %0, rpvr" #pvrid ";" \
|
||||
: "=r" (tmp) : : "memory"); \
|
||||
val = tmp; \
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue