mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
init/main: use __init_refok to fix section mismatch
Kill a special case in modpost by introducing the __init_refok marker. Signed-off-by: Sam Ravnborg <[email protected]>
This commit is contained in:
parent
0e0d314e6a
commit
92080309df
2 changed files with 1 additions and 15 deletions
|
|
@ -423,7 +423,7 @@ static void __init setup_command_line(char *command_line)
|
|||
* gcc-3.4 accidentally inlines this function, so use noinline.
|
||||
*/
|
||||
|
||||
static void noinline rest_init(void)
|
||||
static void noinline __init_refok rest_init(void)
|
||||
__releases(kernel_lock)
|
||||
{
|
||||
int pid;
|
||||
|
|
|
|||
Loading…
Reference in a new issue