• Andrew Morton's avatar
    [PATCH] Fix si_band type in asm-generic/siginfo.h · b614db14
    Andrew Morton authored
    From: Andi Kleen <ak@suse.de>
    
    POSIX says si_band in siginfo_t must be long. glibc uses this, except
    for Alpha.
    
    This type must be correct on little endian machines, otherwise
    Konqueror does not get any events from dnotity for created/deleted files.
    
    Currenly asm-generic/siginfo.h uses int, which is wrong.
    
    This patch adds a new macro __ARCH_SI_BAND_T which is int for alpha
    and long for everybody else. This makes the type on x86-64 come out
    correctly
    b614db14
siginfo.h 7.76 KB