.. | .. |
---|
594 | 594 | maintainers and developers may however require EXPORT_SYMBOL_GPL() |
---|
595 | 595 | when adding any new APIs or functionality. |
---|
596 | 596 | |
---|
| 597 | +:c:func:`EXPORT_SYMBOL_NS()` |
---|
| 598 | +---------------------------- |
---|
| 599 | + |
---|
| 600 | +Defined in ``include/linux/export.h`` |
---|
| 601 | + |
---|
| 602 | +This is the variant of `EXPORT_SYMBOL()` that allows specifying a symbol |
---|
| 603 | +namespace. Symbol Namespaces are documented in |
---|
| 604 | +:doc:`../core-api/symbol-namespaces` |
---|
| 605 | + |
---|
| 606 | +:c:func:`EXPORT_SYMBOL_NS_GPL()` |
---|
| 607 | +-------------------------------- |
---|
| 608 | + |
---|
| 609 | +Defined in ``include/linux/export.h`` |
---|
| 610 | + |
---|
| 611 | +This is the variant of `EXPORT_SYMBOL_GPL()` that allows specifying a symbol |
---|
| 612 | +namespace. Symbol Namespaces are documented in |
---|
| 613 | +:doc:`../core-api/symbol-namespaces` |
---|
| 614 | + |
---|
597 | 615 | Routines and Conventions |
---|
598 | 616 | ======================== |
---|
599 | 617 | |
---|
.. | .. |
---|
718 | 736 | - Usually you want a configuration option for your kernel hack. Edit |
---|
719 | 737 | ``Kconfig`` in the appropriate directory. The Config language is |
---|
720 | 738 | simple to use by cut and paste, and there's complete documentation in |
---|
721 | | - ``Documentation/kbuild/kconfig-language.txt``. |
---|
| 739 | + ``Documentation/kbuild/kconfig-language.rst``. |
---|
722 | 740 | |
---|
723 | 741 | In your description of the option, make sure you address both the |
---|
724 | 742 | expert user and the user who knows nothing about your feature. |
---|
.. | .. |
---|
728 | 746 | |
---|
729 | 747 | - Edit the ``Makefile``: the CONFIG variables are exported here so you |
---|
730 | 748 | can usually just add a "obj-$(CONFIG_xxx) += xxx.o" line. The syntax |
---|
731 | | - is documented in ``Documentation/kbuild/makefiles.txt``. |
---|
| 749 | + is documented in ``Documentation/kbuild/makefiles.rst``. |
---|
732 | 750 | |
---|
733 | 751 | - Put yourself in ``CREDITS`` if you've done something noteworthy, |
---|
734 | 752 | usually beyond a single file (your name should be at the top of the |
---|