sparc32: Remove sparc_cpu_model read from floppy interrupt handler.
authorDavid S. Miller <davem@davemloft.net>
Sat, 12 May 2012 07:13:32 +0000 (00:13 -0700)
committerDavid 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

index 5e75799..d7143ba 100644 (file)
@@ -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