|
@@ -3585,6 +3585,10 @@ __weak const char *arch_vma_name(struct vm_area_struct *vma)
|
|
|
|
|
|
void __init signals_init(void)
|
|
void __init signals_init(void)
|
|
{
|
|
{
|
|
|
|
+ /* If this check fails, the __ARCH_SI_PREAMBLE_SIZE value is wrong! */
|
|
|
|
+ BUILD_BUG_ON(__ARCH_SI_PREAMBLE_SIZE
|
|
|
|
+ != offsetof(struct siginfo, _sifields._pad));
|
|
|
|
+
|
|
sigqueue_cachep = KMEM_CACHE(sigqueue, SLAB_PANIC);
|
|
sigqueue_cachep = KMEM_CACHE(sigqueue, SLAB_PANIC);
|
|
}
|
|
}
|
|
|
|
|