~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to kernel/fork.c

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2012-03-04 15:32:20 UTC
  • mto: (43.1.29 sid)
  • mto: This revision was merged to the branch mainline in revision 57.
  • Revision ID: package-import@ubuntu.com-20120304153220-z43emb9b8y0vpuf2
Tags: upstream-3.2.9
ImportĀ upstreamĀ versionĀ 3.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
#include <linux/user-return-notifier.h>
67
67
#include <linux/oom.h>
68
68
#include <linux/khugepaged.h>
 
69
#include <linux/signalfd.h>
69
70
 
70
71
#include <asm/pgtable.h>
71
72
#include <asm/pgalloc.h>
910
911
 
911
912
void __cleanup_sighand(struct sighand_struct *sighand)
912
913
{
913
 
        if (atomic_dec_and_test(&sighand->count))
 
914
        if (atomic_dec_and_test(&sighand->count)) {
 
915
                signalfd_cleanup(sighand);
914
916
                kmem_cache_free(sighand_cachep, sighand);
 
917
        }
915
918
}
916
919
 
917
920