linux/Documentation/core-api
Vlastimil Babka 6d3c3ca4c7
module: Rename EXPORT_SYMBOL_GPL_FOR_MODULES to EXPORT_SYMBOL_FOR_MODULES
Christoph suggested that the explicit _GPL_ can be dropped from the
module namespace export macro, as it's intended for in-tree modules
only. It would be possible to restrict it technically, but it was
pointed out [2] that some cases of using an out-of-tree build of an
in-tree module with the same name are legitimate. But in that case those
also have to be GPL anyway so it's unnecessary to spell it out in the
macro name.

Link: https://lore.kernel.org/all/aFleJN_fE-RbSoFD@infradead.org/ [1]
Link: https://lore.kernel.org/all/CAK7LNATRkZHwJGpojCnvdiaoDnP%2BaeUXgdey5sb_8muzdWTMkA@mail.gmail.com/ [2]
Suggested-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Shivank Garg <shivankg@amd.com>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Nicolas Schier <n.schier@avm.de>
Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://lore.kernel.org/20250808-export_modules-v4-1-426945bcc5e1@suse.cz
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-08-11 16:16:36 +02:00
..
irq
kho
wrappers
asm-annotations.rst
assoc_array.rst
boot-time-mm.rst
cachetlb.rst
cgroup.rst
circular-buffers.rst
cleanup.rst
cpu_hotplug.rst
debug-objects.rst
debugging-via-ohci1394.rst
dma-api-howto.rst
dma-api.rst
dma-attributes.rst
dma-isa-lpc.rst
entry.rst
errseq.rst
floating-point.rst
folio_queue.rst
genalloc.rst
generic-radix-tree.rst
genericirq.rst
gfp_mask-from-fs-io.rst
idr.rst
index.rst
kernel-api.rst
kobject.rst
kref.rst
librs.rst
list.rst
local_ops.rst
maple_tree.rst
memory-allocation.rst
memory-hotplug.rst
min_heap.rst
mm-api.rst
netlink.rst
packing.rst
padata.rst
parser.rst
pin_user_pages.rst
printk-basics.rst
printk-formats.rst
printk-index.rst
protection-keys.rst
rbtree.rst
refcount-vs-atomic.rst
swiotlb.rst
symbol-namespaces.rst
this_cpu_ops.rst
timekeeping.rst
tracepoint.rst
unaligned-memory-access.rst
union_find.rst
watch_queue.rst
workqueue.rst
xarray.rst