summaryrefslogtreecommitdiff
path: root/compat/backports.h
blob: 538488887fca457fb3b5cab91e99eb452bf20873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef LINUX_BACKPORTS_PRIVATE_H
#define LINUX_BACKPORTS_PRIVATE_H

#include <linux/version.h>

#ifdef CPTCFG_BPAUTO_BUILD_WANT_DEV_COREDUMP
int devcoredump_init(void);
void devcoredump_exit(void);
#else
static inline int devcoredump_init(void)
{ return 0; }
static inline void devcoredump_exit(void)
{}
#endif

#endif /* LINUX_BACKPORTS_PRIVATE_H */