Re: [PATCH 11/28] ARCv2: extable: Enable sorting at build time

From: David Daney
Date: Mon Jun 29 2015 - 17:11:55 EST


On 06/23/2015 10:51 PM, Vineet Gupta wrote:
Hi David,

On Tuesday 09 June 2015 05:18 PM, Vineet Gupta wrote:
Signed-off-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>
---
scripts/sortextable.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index 1052d4834a44..c2423d913b46 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -47,6 +47,10 @@
#define EM_MICROBLAZE 189
#endif

+#ifndef EM_ARCV2
+#define EM_ARCV2 195
+#endif
+
static int fd_map; /* File descriptor for file being modified. */
static int mmap_failed; /* Boolean flag. */
static void *ehdr_curr; /* current ElfXX_Ehdr * for resource cleanup */
@@ -281,6 +285,7 @@ do_file(char const *const fname)
custom_sort = sort_relative_table;
break;
case EM_ARCOMPACT:
+ case EM_ARCV2:
case EM_ARM:
case EM_AARCH64:
case EM_MICROBLAZE:


Sorry for missing you in the CC in orig post of this patch. Can I get your Ack on
this one !


OK:

Acked-by: David Daney <david.daney@xxxxxxxxxx>


Really this is obvious, and only effects ARCv2, so the corresponding maintainers shouldn't need my Ack.

David Daney


-Vineet


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/