Project

General

Profile

Actions

Feature #3322

open

137: Don't mark EXPORT_SYMBOL functions as __init

Added by Denis Efremov over 12 years ago. Updated over 12 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
08/02/2012
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

If you export __init functions to modules, section mismatch warning is raised during compilation but only when CONFIG_DEBUG_SECTION_MISMATCH=y.

1) http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f1930a2983ab28c65a51a5169b7540f898309824

2) http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=9613afc36a3114b776d7b09877060062cd3e4d89

3) In this case the change is not explicitly described, but you can see it in the diff.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=b8bdc1d0cfc488ac0d94724639f9a61b0a5a1d40

Actions

Also available in: Atom PDF