• Heiko Carstens's avatar
    [S390] vdso: get rid of redefinition warnings · b3423982
    Heiko Carstens authored
    The CLOCK_* defines in asm-offsets.c are only used for the vdso code
    however in the meantime they cause other trouble.
    Just rename them to get permanently rid of this:
    
    In file included from /home2/heicarst/linux-2.6/arch/s390/include/asm/asm-offsets.h:1:0,
                     from arch/s390/mm/fault.c:33:
    include/generated/asm-offsets.h:53:0: warning: "CLOCK_REALTIME" redefined
    include/linux/time.h:286:0: note: this is the location of the previous definition
    include/generated/asm-offsets.h:54:0: warning: "CLOCK_MONOTONIC" redefined
    include/linux/time.h:287:0: note: this is the location of the previous definition
    Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    b3423982
clock_gettime.S 3.18 KB