kexec: fix compilation warning on xchg(&kexec_lock, 0) in kernel_kexec()
authorHuang Ying <ying.huang@intel.com>
Fri, 15 Aug 2008 07:40:20 +0000 (00:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Aug 2008 15:35:42 +0000 (08:35 -0700)
commit4cd69b986ebf0f8da93f82ffbb89c032ee09c2e1
treecb4085d0b8f18e86b892c5bd88a5d6280c698300
parentce289e89726948b50a58c9e8f4e81174a8c9c254
kexec: fix compilation warning on xchg(&kexec_lock, 0) in kernel_kexec()

kernel/kexec.c: In function 'kernel_kexec':
kernel/kexec.c:1506: warning: value computed is not used

Signed-off-by: Huang Ying <ying.huang@intel.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kexec.c