• H
    s390/nmi: remove casts · dc6e1555
    Heiko Carstens 提交于
    Remove all the casts to and from the machine check interruption code.
    This patch changes struct mci to a union, which contains an anonymous
    structure with the already known bits and in addition an unsigned
    long field, which contains the raw machine check interruption code.
    
    This allows to simply assign and decoce the interruption code value
    without the need for all those casts we had all the time.
    Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
    dc6e1555
nmi.c 9.3 KB