projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92ee8bd
)
microblaze: Remove hardcoded asm instraction for PVR loading
author
Michal Simek
<monstr@monstr.eu>
Tue, 28 Sep 2010 05:43:59 +0000
(15:43 +1000)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 21 Oct 2010 05:51:46 +0000
(15:51 +1000)
It comes from past where pvr wasn't supported in msr instruction.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/cpu/pvr.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/cpu/pvr.c
b/arch/microblaze/kernel/cpu/pvr.c
index
9bee938
..
e01afa6
100644
(file)
--- 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; \
}