export.h: allow for per-symbol configurable EXPORT_SYMBOL()
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 22 Jan 2016 06:32:26 +0000 (01:32 -0500)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 29 Mar 2016 20:18:53 +0000 (16:18 -0400)
commitf235541699bcf14fb8be797c6bc1d7106df0eb64
tree6707edc556076ba677ca4fbb68054bbe128857af
parent9895c03d48115c7783c0ef0a591447d53254ef84
export.h: allow for per-symbol configurable EXPORT_SYMBOL()

Similar to include/generated/autoconf.h, include/generated/autoksyms.h
will contain a list of defines for each EXPORT_SYMBOL() that we want
active. The format is:

  #define __KSYM_<symbol_name> 1

This list will be auto-generated with another patch.  For now we only
include the preprocessor magic to automatically create or omit the
corresponding struct kernel_symbol declaration.

Given the content of include/generated/autoksyms.h may not be known in
advance, an empty file is created early on to let the build proceed.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Makefile
include/linux/export.h
This page took 0.0246 seconds and 5 git commands to generate.