kbuild: fix so modpost can now check any .o file
authorSam Ravnborg <sam@ravnborg.org>
Thu, 17 Jan 2008 20:17:42 +0000 (21:17 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:40 +0000 (23:14 +0100)
commitd1f25e6658943569f2713dfde1b9d74e2f6c7243
treeb1c84264df8ed3941e6473f7126b13325c1aeacb
parentfa220d89ad050cf5d970c0418ded019a80efedfb
kbuild: fix so modpost can now check any .o file

It is very convinient to say:
scripts/mod/modpost mm/built-in.o

to check if any section mismatch errors occured
in mm/ (as an example).
Fix it so this is possible again.

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