aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sorttable.h
diff options
context:
space:
mode:
authorShile Zhang <shile.zhang@linux.alibaba.com>2019-12-04 08:46:31 +0800
committerIngo Molnar <mingo@kernel.org>2019-12-13 10:47:58 +0100
commit1091670637be8bd34a39dd1ddcc0a10a7c88d4e2 (patch)
treea2d3f545b8c33d71f620ba2dacd495ca44fd295a /scripts/sorttable.h
parentscripts/sortextable: Refactor the do_func() function (diff)
downloadlinux-dev-1091670637be8bd34a39dd1ddcc0a10a7c88d4e2.tar.xz
linux-dev-1091670637be8bd34a39dd1ddcc0a10a7c88d4e2.zip
scripts/sorttable: Rename 'sortextable' to 'sorttable'
Use a more generic name for additional table sorting usecases, such as the upcoming ORC table sorting feature. This tool is not tied to exception table sorting anymore. No functional changes intended. [ mingo: Rewrote the changelog. ] Signed-off-by: Shile Zhang <shile.zhang@linux.alibaba.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Michal Marek <michal.lkml@markovi.net> Cc: linux-kbuild@vger.kernel.org Link: https://lkml.kernel.org/r/20191204004633.88660-6-shile.zhang@linux.alibaba.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
-rw-r--r--scripts/sorttable.h (renamed from scripts/sortextable.h)4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sortextable.h b/scripts/sorttable.h
index 6485513f7cae..82589ff90e25 100644
--- a/scripts/sortextable.h
+++ b/scripts/sorttable.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
- * sortextable.h
+ * sorttable.h
*
* Copyright 2011 - 2012 Cavium, Inc.
*
@@ -31,7 +31,7 @@
#undef _r
#undef _w
-#ifdef SORTEXTABLE_64
+#ifdef SORTTABLE_64
# define extable_ent_size 16
# define compare_extable compare_extable_64
# define do_sort do_sort_64