diff options
author | David S. Miller <davem@davemloft.net> | 2021-02-26 16:16:24 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-26 16:16:24 -0800 |
commit | cf64c2a905e0dabcc473ca70baf275fb3a61fac4 (patch) | |
tree | 41600722fc372ef167048622e5959cdf7e458aea /lib | |
parent | b9d62433114108eb45d4cae04abccb9b30ac005d (diff) | |
parent | 73686e787b495a85551e2e99c459adde6836eb31 (diff) |
Merge branch 'work.sparc32' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/extable.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/extable.c b/lib/extable.c index c3e59caf7ffa..9c9f40bd2b3d 100644 --- a/lib/extable.c +++ b/lib/extable.c @@ -21,7 +21,6 @@ static inline unsigned long ex_to_insn(const struct exception_table_entry *x) } #endif -#ifndef ARCH_HAS_SORT_EXTABLE #ifndef ARCH_HAS_RELATIVE_EXTABLE #define swap_ex NULL #else @@ -88,9 +87,6 @@ void trim_init_extable(struct module *m) m->num_exentries--; } #endif /* CONFIG_MODULES */ -#endif /* !ARCH_HAS_SORT_EXTABLE */ - -#ifndef ARCH_HAS_SEARCH_EXTABLE static int cmp_ex_search(const void *key, const void *elt) { @@ -120,4 +116,3 @@ search_extable(const struct exception_table_entry *base, return bsearch(&value, base, num, sizeof(struct exception_table_entry), cmp_ex_search); } -#endif |