projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd2b79b
)
sparc32: Remove sparc_cpu_model read from floppy interrupt handler.
author
David S. Miller
<davem@davemloft.net>
Sat, 12 May 2012 07:13:32 +0000
(
00:13
-0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 12 May 2012 07:13:32 +0000
(
00:13
-0700)
Since we no longer test the cpu model value, no need to load
it into a register any more.
It just gets overwritten in the next instruction anyways. :-)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/entry.S
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/entry.S
b/arch/sparc/kernel/entry.S
index 5e7579971b3ec6ca1d28ce0e5998325e9f20d402..d7143ba6a8ff679d0609510d022ed392cfacfaef 100644
(file)
--- a/
arch/sparc/kernel/entry.S
+++ b/
arch/sparc/kernel/entry.S
@@
-123,8
+123,6
@@
floppy_tdone:
set auxio_register, %l7
ld [%l7], %l7
- set sparc_cpu_model, %l5
- ld [%l5], %l5
ldub [%l7], %l5
or %l5, 0xc2, %l5