[PATCH] EDAC: edac_mc_add_mc fix [1/2]
authorDave Peterson <dsp@llnl.gov>
Sun, 26 Mar 2006 09:38:46 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:07 +0000 (08:57 -0800)
commita1d03fcc1399b1e23922bcc3af1772b128aa6e93
treebf6b9895568a5fc0012590941213a28fe8d9af5d
parent749ede57443b2a7ede2db105145f21047efcea6a
[PATCH] EDAC: edac_mc_add_mc fix [1/2]

This is part 1 of a 2-part patch set.  The code changes are split into
two parts to make the patches more readable.

Move complete_mc_list_del() and del_mc_from_global_list() so we can
call del_mc_from_global_list() from edac_mc_add_mc() without forward
declarations.  Perhaps using forward declarations would be better?
I'm doing things this way because the rest of the code is missing
them.

Signed-off-by: David S. Peterson <dsp@llnl.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/edac/edac_mc.c