aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-12 00:13:32 -0700
committerDavid S. Miller <davem@davemloft.net>2012-05-12 00:13:32 -0700
commitb7d96ce189564e661909fbf8df39d7358149885b (patch)
tree51a4b09820562604db825cb9a9b6f501f7bd12be /arch/sparc/kernel
parentfd2b79b7bf98cac031c7a4d9ae9669cc3d01a523 (diff)
downloadlinux-b7d96ce189564e661909fbf8df39d7358149885b.tar.gz
sparc32: Remove sparc_cpu_model read from floppy interrupt handler.
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>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/entry.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S
index 5e7579971b3..d7143ba6a8f 100644
--- 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