summaryrefslogtreecommitdiff
path: root/kexec/kexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r--kexec/kexec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h
index 4d22017..6909ca1 100644
--- a/kexec/kexec.h
+++ b/kexec/kexec.h
@@ -135,6 +135,10 @@ struct arch_map_entry {
extern const struct arch_map_entry arches[];
long physical_arch(void);
+#define KERNEL_VERSION(major, minor, patch) \
+ (((major) << 16) | ((minor) << 8) | patch)
+long kernel_version(void);
+
void usage(void);
int get_memory_ranges(struct memory_range **range, int *ranges,
unsigned long kexec_flags);