File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -289,6 +289,13 @@ config ARCH_32BIT_OFF_T
289289 still support 32-bit off_t. This option is enabled for all such
290290 architectures explicitly.
291291
292+ config HAVE_ASM_MODVERSIONS
293+ bool
294+ help
295+ This symbol should be selected by an architecure if it provides
296+ <asm/asm-prototypes.h> to support the module versioning for symbols
297+ exported from assembly code.
298+
292299config HAVE_REGS_AND_STACK_ACCESS_API
293300 bool
294301 help
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ config ALPHA
1111 select PCI_DOMAINS if PCI
1212 select PCI_SYSCALL if PCI
1313 select HAVE_AOUT
14+ select HAVE_ASM_MODVERSIONS
1415 select HAVE_IDE
1516 select HAVE_OPROFILE
1617 select HAVE_PCSPKR_PLATFORM
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ config ARM64
135135 select HAVE_ARCH_TRANSPARENT_HUGEPAGE
136136 select HAVE_ARCH_VMAP_STACK
137137 select HAVE_ARM_SMCCC
138+ select HAVE_ASM_MODVERSIONS
138139 select HAVE_EBPF_JIT
139140 select HAVE_C_RECORDMCOUNT
140141 select HAVE_CMPXCHG_DOUBLE
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ config IA64
1717 select FORCE_PCI if (!IA64_HP_SIM)
1818 select PCI_DOMAINS if PCI
1919 select PCI_SYSCALL if PCI
20+ select HAVE_ASM_MODVERSIONS
2021 select HAVE_UNSTABLE_SCHED_CLOCK
2122 select HAVE_EXIT_THREAD
2223 select HAVE_IDE
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ config M68K
1414 select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
1515 select HAVE_IDE
1616 select HAVE_AOUT if MMU
17+ select HAVE_ASM_MODVERSIONS
1718 select HAVE_DEBUG_BUGVERBOSE
1819 select GENERIC_IRQ_SHOW
1920 select GENERIC_ATOMIC64
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ config MIPS
4444 select HAVE_ARCH_SECCOMP_FILTER
4545 select HAVE_ARCH_TRACEHOOK
4646 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT
47+ select HAVE_ASM_MODVERSIONS
4748 select HAVE_EBPF_JIT if (!CPU_MICROMIPS)
4849 select HAVE_CONTEXT_TRACKING
4950 select HAVE_COPY_THREAD_TLS
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ config PPC
178178 select HAVE_ARCH_NVRAM_OPS
179179 select HAVE_ARCH_SECCOMP_FILTER
180180 select HAVE_ARCH_TRACEHOOK
181+ select HAVE_ASM_MODVERSIONS
181182 select HAVE_C_RECORDMCOUNT
182183 select HAVE_CBPF_JIT if !PPC64
183184 select HAVE_STACKPROTECTOR if PPC64 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=r13)
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ config RISCV
3131 select GENERIC_SMP_IDLE_THREAD
3232 select GENERIC_ATOMIC64 if !64BIT
3333 select HAVE_ARCH_AUDITSYSCALL
34+ select HAVE_ASM_MODVERSIONS
3435 select HAVE_MEMBLOCK_NODE_MAP
3536 select HAVE_DMA_CONTIGUOUS
3637 select HAVE_FUTEX_CMPXCHG if FUTEX
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ config S390
131131 select HAVE_ARCH_TRACEHOOK
132132 select HAVE_ARCH_TRANSPARENT_HUGEPAGE
133133 select HAVE_ARCH_VMAP_STACK
134+ select HAVE_ASM_MODVERSIONS
134135 select HAVE_EBPF_JIT if PACK_STACK && HAVE_MARCH_Z196_FEATURES
135136 select HAVE_CMPXCHG_DOUBLE
136137 select HAVE_CMPXCHG_LOCAL
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ config SPARC
1717 select ARCH_MIGHT_HAVE_PC_SERIO
1818 select OF
1919 select OF_PROMTREE
20+ select HAVE_ASM_MODVERSIONS
2021 select HAVE_IDE
2122 select HAVE_OPROFILE
2223 select HAVE_ARCH_KGDB if !SMP || SPARC64
You can’t perform that action at this time.
0 commit comments