diff options
| author | H. Peter Anvin <hpa@linux.intel.com> | 2014-02-07 14:27:30 -0500 |
|---|---|---|
| committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-02-07 14:27:30 -0500 |
| commit | a3b072cd180c12e8fe0ece9487b9065808327640 (patch) | |
| tree | 62b982041be84748852d77cdf6ca5639ef40858f /scripts/sortextable.c | |
| parent | 75a1ba5b2c529db60ca49626bcaf0bddf4548438 (diff) | |
| parent | 081cd62a010f97b5bc1d2b0cd123c5abc692b68a (diff) | |
Merge tag 'efi-urgent' into x86/urgent
* Avoid WARN_ON() when mapping BGRT on Baytrail (EFI 32-bit).
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'scripts/sortextable.c')
| -rw-r--r-- | scripts/sortextable.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/sortextable.c b/scripts/sortextable.c index 7941fbdfb050..cc49062acdee 100644 --- a/scripts/sortextable.c +++ b/scripts/sortextable.c | |||
| @@ -39,6 +39,10 @@ | |||
| 39 | #define EM_AARCH64 183 | 39 | #define EM_AARCH64 183 |
| 40 | #endif | 40 | #endif |
| 41 | 41 | ||
| 42 | #ifndef EM_MICROBLAZE | ||
| 43 | #define EM_MICROBLAZE 189 | ||
| 44 | #endif | ||
| 45 | |||
| 42 | static int fd_map; /* File descriptor for file being modified. */ | 46 | static int fd_map; /* File descriptor for file being modified. */ |
| 43 | static int mmap_failed; /* Boolean flag. */ | 47 | static int mmap_failed; /* Boolean flag. */ |
| 44 | static void *ehdr_curr; /* current ElfXX_Ehdr * for resource cleanup */ | 48 | static void *ehdr_curr; /* current ElfXX_Ehdr * for resource cleanup */ |
| @@ -275,6 +279,7 @@ do_file(char const *const fname) | |||
| 275 | case EM_ARCOMPACT: | 279 | case EM_ARCOMPACT: |
| 276 | case EM_ARM: | 280 | case EM_ARM: |
| 277 | case EM_AARCH64: | 281 | case EM_AARCH64: |
| 282 | case EM_MICROBLAZE: | ||
| 278 | case EM_MIPS: | 283 | case EM_MIPS: |
| 279 | break; | 284 | break; |
| 280 | } /* end switch */ | 285 | } /* end switch */ |
