cpufeature: correctly annotate the module init function
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Thu, 19 Feb 2015 13:44:24 +0000 (14:44 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Jul 2015 07:58:02 +0000 (09:58 +0200)
commit7d0c502040a23a5924d3021651cf5326c8694a77
tree3d4980cc3ebecd3f6281ece015ea427073641c7d
parent9977e886cbbc758b4b601a160b5825ba573b5ca8
cpufeature: correctly annotate the module init function

A section mismatch warning is reported if an __init annotated function is
specified for module_cpu_feature_match().
Change the module_cpu_feature_match() function and annotate the generated
cpu_feature_match_* function as __init.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/linux/cpufeature.h