X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=kernel%2Funwind.c;h=f69c804c8e620c5037ba5896a69568a426bca067;hb=0711615290510bfba11c3f4eabcde6ac92c0766e;hp=0421035272d99238c890c20945dcf6cb4b1a16cf;hpb=c33bd9aac0597eeedaaa01ea5aafe456894b2f2b;p=linux-2.6-omap-h63xx.git diff --git a/kernel/unwind.c b/kernel/unwind.c index 0421035272d..f69c804c8e6 100644 --- a/kernel/unwind.c +++ b/kernel/unwind.c @@ -172,6 +172,8 @@ void __init unwind_init(void) __start_unwind, __end_unwind - __start_unwind); } +#ifdef CONFIG_MODULES + /* Must be called with module_mutex held. */ void *unwind_add_table(struct module *module, const void *table_start, @@ -253,6 +255,8 @@ void unwind_remove_table(void *handle, int init_only) kfree(table); } +#endif /* CONFIG_MODULES */ + static uleb128_t get_uleb128(const u8 **pcur, const u8 *end) { const u8 *cur = *pcur;