signal: Deliver all of the siginfo perf data in _perf
[linux-2.6-microblaze.git] / arch / m68k / kernel / signal.c
index 349570f..8f215e7 100644 (file)
@@ -622,6 +622,10 @@ static inline void siginfo_build_tests(void)
        /* _sigfault._addr_pkey */
        BUILD_BUG_ON(offsetof(siginfo_t, si_pkey) != 0x12);
 
+       /* _sigfault._perf */
+       BUILD_BUG_ON(offsetof(siginfo_t, si_perf_data) != 0x10);
+       BUILD_BUG_ON(offsetof(siginfo_t, si_perf_type) != 0x14);
+
        /* _sigpoll */
        BUILD_BUG_ON(offsetof(siginfo_t, si_band)   != 0x0c);
        BUILD_BUG_ON(offsetof(siginfo_t, si_fd)     != 0x10);