Merge branch 'bpf-Allow-selecting-numa-node-during-map-creation'
[linux-2.6/btrfs-unstable.git] / include / linux / purgatory.h
blobd60d4e278609601f93aeab06f2f16f3f0aa0ccf0
1 #ifndef _LINUX_PURGATORY_H
2 #define _LINUX_PURGATORY_H
4 #include <linux/types.h>
5 #include <crypto/sha.h>
6 #include <uapi/linux/kexec.h>
8 struct kexec_sha_region {
9 unsigned long start;
10 unsigned long len;
14 * These forward declarations serve two purposes:
16 * 1) Make sparse happy when checking arch/purgatory
17 * 2) Document that these are required to be global so the symbol
18 * lookup in kexec works
20 extern struct kexec_sha_region purgatory_sha_regions[KEXEC_SEGMENT_MAX];
21 extern u8 purgatory_sha256_digest[SHA256_DIGEST_SIZE];
23 #endif