Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tile: export a handful of symbols appropriately

This was shown up by running with "allmodconfig". I used
EXPORT_SYMBOL() to match existing conventions in files that
were already exporting symbols, or that were exported that way
by other architectures, and otherwise EXPORT_SYMBOL_GPL().

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>

+10
+2
arch/tile/kernel/reboot.c
··· 16 16 #include <linux/reboot.h> 17 17 #include <linux/smp.h> 18 18 #include <linux/pm.h> 19 + #include <linux/export.h> 19 20 #include <asm/page.h> 20 21 #include <asm/setup.h> 21 22 #include <hv/hypervisor.h> ··· 50 49 51 50 /* No interesting distinction to be made here. */ 52 51 void (*pm_power_off)(void) = NULL; 52 + EXPORT_SYMBOL(pm_power_off);
+1
arch/tile/kernel/stack.c
··· 484 484 { 485 485 save_stack_trace_tsk(NULL, trace); 486 486 } 487 + EXPORT_SYMBOL_GPL(save_stack_trace); 487 488 488 489 #endif 489 490
+2
arch/tile/lib/cacheflush.c
··· 12 12 * more details. 13 13 */ 14 14 15 + #include <linux/export.h> 15 16 #include <asm/page.h> 16 17 #include <asm/cacheflush.h> 17 18 #include <arch/icache.h> ··· 166 165 __insn_mtspr(SPR_DSTREAM_PF, old_dstream_pf); 167 166 #endif 168 167 } 168 + EXPORT_SYMBOL_GPL(finv_buffer_remote);
+2
arch/tile/lib/cpumask.c
··· 16 16 #include <linux/ctype.h> 17 17 #include <linux/errno.h> 18 18 #include <linux/smp.h> 19 + #include <linux/export.h> 19 20 20 21 /* 21 22 * Allow cropping out bits beyond the end of the array. ··· 51 50 } while (*bp != '\0' && *bp != '\n'); 52 51 return 0; 53 52 } 53 + EXPORT_SYMBOL(bitmap_parselist_crop);
+2
arch/tile/lib/exports.c
··· 55 55 EXPORT_SYMBOL(hv_dev_close); 56 56 EXPORT_SYMBOL(hv_sysconf); 57 57 EXPORT_SYMBOL(hv_confstr); 58 + EXPORT_SYMBOL(hv_get_rtc); 59 + EXPORT_SYMBOL(hv_set_rtc); 58 60 59 61 /* libgcc.a */ 60 62 uint32_t __udivsi3(uint32_t dividend, uint32_t divisor);
+1
arch/tile/mm/homecache.c
··· 408 408 __set_pte(ptep, pte_set_home(pteval, home)); 409 409 } 410 410 } 411 + EXPORT_SYMBOL(homecache_change_page_home); 411 412 412 413 struct page *homecache_alloc_pages(gfp_t gfp_mask, 413 414 unsigned int order, int home)