ACPICA: Move check for valid Thread ID structure
authorDan Carpenter <error27@gmail.com>
Fri, 11 Dec 2009 07:31:40 +0000 (15:31 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 15 Dec 2009 22:29:37 +0000 (17:29 -0500)
commitfbc3be2af3e8beb581a20c2a0cfda5692f5a1c08
tree24506f062acad2f1144b74abf801cb4ca57bcc7b
parentd4085a3ffee8828f7f1bae7fa3cf5e58f59ba627
ACPICA: Move check for valid Thread ID structure

This change moves the check for a valid Thread ID structure up a
few lines to insure that the check is made before the structure
is actually used.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/exmutex.c