Commit 7498108f authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

ARC: hide unused function unw_hdr_alloc

commit fd5de2721ea7d16e2b16c4049ac49f229551b290 upstream.

As reports, this function is not used in

arch/arc/kernel/unwind.c:188:14: warning: 'unw_hdr_alloc' defined but not used [-Wunused-function]

Fixes: bc79c9a7 ("ARC: dw2 unwind: Reinstante unwinding out of modules")
Signed-off-by: default avatarArnd Bergmann <>
Signed-off-by: default avatarVineet Gupta <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 6ad56d51
......@@ -185,11 +185,6 @@ static void *__init unw_hdr_alloc_early(unsigned long sz)
static void *unw_hdr_alloc(unsigned long sz)
return kmalloc(sz, GFP_KERNEL);
static void init_unwind_table(struct unwind_table *table, const char *name,
const void *core_start, unsigned long core_size,
const void *init_start, unsigned long init_size,
......@@ -370,6 +365,10 @@ static void init_unwind_hdr(struct unwind_table *table,
static void *unw_hdr_alloc(unsigned long sz)
return kmalloc(sz, GFP_KERNEL);
static struct unwind_table *last_table;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment