Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fde1dfb authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta Committed by Matthias Maennich
Browse files

ANDROID: Revert "Merge tag 'modules-for-v5.4' of...

ANDROID: Revert "Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux

"

This reverts commit e0703556, reversing
changes made to 8808cf8c.

Introducing symbol-namespaces into the kernel has caused issues with
respect to the ABI checker. Hence, revert the changes until a valid
fix is available. The revert was done based off of 5.4-rc1.

Change-Id: I529ced269661f457ce667a76eb383843002f0a7d
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 6ce0937f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@
*.lzo
*.mod
*.mod.c
*.ns_deps
*.o
*.o.*
*.patch
+2 −5
Original line number Diff line number Diff line
@@ -470,12 +470,9 @@ build.

	The syntax of the Module.symvers file is::

	<CRC>       <Symbol>          <Namespace>  <Module>                         <Export Type>
		<CRC>	    <Symbol>	       <module>

	0xe1cc2a05  usb_stor_suspend  USB_STORAGE  drivers/usb/storage/usb-storage  EXPORT_SYMBOL_GPL

	The fields are separated by tabs and values may be empty (e.g.
	if no namespace is defined for an exported symbol).
		0x2d036834  scsi_remove_host   drivers/scsi/scsi_mod

	For a kernel build without CONFIG_MODVERSIONS enabled, the CRC
	would read 0x00000000.
+0 −18
Original line number Diff line number Diff line
@@ -594,24 +594,6 @@ internal implementation issue, and not really an interface. Some
maintainers and developers may however require EXPORT_SYMBOL_GPL()
when adding any new APIs or functionality.

:c:func:`EXPORT_SYMBOL_NS()`
----------------------------

Defined in ``include/linux/export.h``

This is the variant of `EXPORT_SYMBOL()` that allows specifying a symbol
namespace. Symbol Namespaces are documented in
``Documentation/kbuild/namespaces.rst``.

:c:func:`EXPORT_SYMBOL_NS_GPL()`
--------------------------------

Defined in ``include/linux/export.h``

This is the variant of `EXPORT_SYMBOL_GPL()` that allows specifying a symbol
namespace. Symbol Namespaces are documented in
``Documentation/kbuild/namespaces.rst``.

Routines and Conventions
========================

+1 −13
Original line number Diff line number Diff line
@@ -1481,9 +1481,6 @@ help:
	@echo  '  headerdep       - Detect inclusion cycles in headers'
	@echo  '  coccicheck      - Check with Coccinelle'
	@echo  ''
	@echo  'Tools:'
	@echo  '  nsdeps          - Generate missing symbol namespace dependencies'
	@echo  ''
	@echo  'Kernel selftest:'
	@echo  '  kselftest       - Build and run kernel selftest (run as root)'
	@echo  '                    Build, install, and boot kernel before'
@@ -1665,7 +1662,7 @@ clean: $(clean-dirs)
		-o -name '*.ko.*' \
		-o -name '*.dtb' -o -name '*.dtb.S' -o -name '*.dt.yaml' \
		-o -name '*.dwo' -o -name '*.lst' \
		-o -name '*.su' -o -name '*.mod' -o -name '*.ns_deps' \
		-o -name '*.su' -o -name '*.mod' \
		-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
		-o -name '*.lex.c' -o -name '*.tab.[ch]' \
		-o -name '*.asn1.[ch]' \
@@ -1683,15 +1680,6 @@ quiet_cmd_tags = GEN $@
tags TAGS cscope gtags: FORCE
	$(call cmd,tags)

# Script to generate missing namespace dependencies
# ---------------------------------------------------------------------------

PHONY += nsdeps

nsdeps: modules
	$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost nsdeps
	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/$@

# Scripts to check various things for consistency
# ---------------------------------------------------------------------------

+1 −0
Original line number Diff line number Diff line
#define KSYM_ALIGN 2
#define KCRC_ALIGN 2
#include <asm-generic/export.h>
Loading