Commit 1dcd775e authored by Rusty Russell's avatar Rusty Russell Committed by Tony Luck
Browse files

[IA64] fix compile error in arch/ia64/mm/extable.c



ad6561df ("module: trim exception table on init
free.") put a bogus trim_init_extable() function into ia64 which didn't compile.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 45e3e193
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -8,7 +8,7 @@
#include <linux/sort.h>
#include <linux/sort.h>


#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <asm/module.h>
#include <linux/module.h>


static int cmp_ex(const void *a, const void *b)
static int cmp_ex(const void *a, const void *b)
{
{
@@ -55,7 +55,7 @@ void sort_extable (struct exception_table_entry *start,


static inline unsigned long ex_to_addr(const struct exception_table_entry *x)
static inline unsigned long ex_to_addr(const struct exception_table_entry *x)
{
{
	return (unsigned long)&x->insn + x->insn;
	return (unsigned long)&x->addr + x->addr;
}
}


#ifdef CONFIG_MODULES
#ifdef CONFIG_MODULES