~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/linux/export.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
/* Mark the CRC weak since genksyms apparently decides not to
44
44
 * generate a checksums for some symbols */
45
45
#define __CRC_SYMBOL(sym, sec)                                  \
46
 
        extern void *__crc_##sym __attribute__((weak));         \
 
46
        extern __visible void *__crc_##sym __attribute__((weak));               \
47
47
        static const unsigned long __kcrctab_##sym              \
48
48
        __used                                                  \
49
49
        __attribute__((section("___kcrctab" sec "+" #sym), unused))     \
59
59
        static const char __kstrtab_##sym[]                     \
60
60
        __attribute__((section("__ksymtab_strings"), aligned(1))) \
61
61
        = VMLINUX_SYMBOL_STR(sym);                              \
62
 
        static const struct kernel_symbol __ksymtab_##sym       \
 
62
        __visible const struct kernel_symbol __ksymtab_##sym    \
63
63
        __used                                                  \
64
64
        __attribute__((section("___ksymtab" sec "+" #sym), unused))     \
65
65
        = { (unsigned long)&sym, __kstrtab_##sym }