s390/entry64: avoid SPP code duplication
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 May 2012 08:09:43 +0000 (10:09 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 16 May 2012 12:42:43 +0000 (14:42 +0200)
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry64.S

index 444fd72e0787ee727fa74b97d06059b6ddce4992..02b660a7dcd4317c84dbfac161ad197f973d21c2 100644 (file)
@@ -88,9 +88,7 @@ _TIF_EXIT_SIE = (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_MCCK_PENDING)
        clg     \scratch,BASED(.Lsie_length)
        jhe     .+22
        lg      %r9,BASED(.Lsie_loop)
-       tm      __LC_MACHINE_FLAGS+6,0x20       # MACHINE_FLAG_SPP
-       jz      .+8
-       .insn   s,0xb2800000,BASED(.Lhost_id)   # set host id
+       SPP     BASED(.Lhost_id)        # set host id
 #endif
        .endm