]> git.ipfire.org Git - people/ms/linux.git/blobdiff - fs/binfmt_flat.c
binfmt: move more stuff undef CONFIG_COREDUMP
[people/ms/linux.git] / fs / binfmt_flat.c
index 5d776f80ee50c22ae3eafe48bfaac144c6dae9cf..5f0bf24bb3b856ce2b61fd88b7073fac22d1b49c 100644 (file)
@@ -102,8 +102,10 @@ static int flat_core_dump(struct coredump_params *cprm);
 static struct linux_binfmt flat_format = {
        .module         = THIS_MODULE,
        .load_binary    = load_flat_binary,
+#ifdef CONFIG_COREDUMP
        .core_dump      = flat_core_dump,
        .min_coredump   = PAGE_SIZE
+#endif
 };
 
 /****************************************************************************/