aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/buildid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/buildid.h')
-rw-r--r--include/linux/buildid.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/buildid.h b/include/linux/buildid.h
new file mode 100644
index 000000000000..40232f90db6e
--- /dev/null
+++ b/include/linux/buildid.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_BUILDID_H
+#define _LINUX_BUILDID_H
+
+#include <linux/mm_types.h>
+
+#define BUILD_ID_SIZE_MAX 20
+
+int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id,
+ __u32 *size);
+
+#endif