init/main.c: fix sparse warnings: context imbalance
authorHannes Eder <hannes@hanneseder.net>
Tue, 31 Mar 2009 22:23:50 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:18 +0000 (08:59 -0700)
commitacdd052a285a7b4cc7da4fa7d34ef9fd0a67b2f8
tree4fc380d7556327cb65ec8441504f90df85a96cd4
parente0f7ad5f4f5056b20914a35d31abcf29036ca364
init/main.c: fix sparse warnings: context imbalance

Impact: Attribute function 'init_post' with __releases(...).

Fix these sparse warnings:
  init/main.c:805:21: warning: context imbalance in 'init_post' - unexpected unlock
  init/main.c:899:9: warning: context imbalance in 'kernel_init' - wrong count at exit

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c