Displaying 1 result from an estimated 1 matches for "sha256_regions".
2013 Feb 21
0
[PATCH 1/4] purgatory: put variables altered by kexec in .data not .bss
......);
void printf(const char *fmt, ...);
diff --git a/purgatory/purgatory.c b/purgatory/purgatory.c
index 3bbcc09..05f3b48 100644
--- a/purgatory/purgatory.c
+++ b/purgatory/purgatory.c
@@ -6,8 +6,8 @@
#include <string.h>
#include "../kexec/kexec-sha256.h"
-struct sha256_region sha256_regions[SHA256_REGIONS] = {};
-sha256_digest_t sha256_digest = { };
+struct sha256_region sha256_regions[SHA256_REGIONS] __data = {};
+sha256_digest_t sha256_digest __data = { };
int verify_sha256_digest(void)
{
--
1.7.2.5