kbuild: whitelist section mismatch in init/main.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 26 Feb 2007 15:45:41 +0000 (16:45 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 2 May 2007 18:58:07 +0000 (20:58 +0200)
commitaae5f662a32c35b1a962627535acb588d48ff5f9
tree6e300ed8557e850e350c95dffb57ff9d5d5b182d
parent85bd2fddd68e757da8e1af98f857f61a3c9ce647
kbuild: whitelist section mismatch in init/main.c

In init/main.c we have a reference from rest_init() to .init.text
which is intentional.
Rename the function 'init' to 'kernel_init' to make it a
kernel wide unique symbol and whitelist the reference.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
init/main.c
scripts/mod/modpost.c