diff options
author | Michal Simek <monstr@monstr.eu> | 2010-09-28 07:43:59 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-10-21 07:51:46 +0200 |
commit | a7d8355008e4f6bbdcb8f998328afa685cec959c (patch) | |
tree | 2b18e006efd3dfe3fd402f32afd195725915803a /arch/microblaze/kernel/cpu | |
parent | microblaze: Use static const char * const where possible (diff) | |
download | linux-a7d8355008e4f6bbdcb8f998328afa685cec959c.tar.xz linux-a7d8355008e4f6bbdcb8f998328afa685cec959c.zip |
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>
Diffstat (limited to 'arch/microblaze/kernel/cpu')
-rw-r--r-- | arch/microblaze/kernel/cpu/pvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/cpu/pvr.c b/arch/microblaze/kernel/cpu/pvr.c index 9bee9382bf74..e01afa68273e 100644 --- a/arch/microblaze/kernel/cpu/pvr.c +++ b/arch/microblaze/kernel/cpu/pvr.c @@ -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; \ } |