commit | 565fdc6a2afeb14e654a8d9ebc792afb9d2c0019 | [log] [tgz] |
---|---|---|
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | Sun Oct 02 18:45:19 2016 -0400 |
committer | David Vrabel <david.vrabel@citrix.com> | Wed Oct 05 10:32:22 2016 +0100 |
tree | f9ca1605b6adbbb6c4e56cf17b3dd2e30fcea5fb | |
parent | b057878b2aadc7e06280e7e702a36e7adb1bcdf7 [diff] |
xen/x86: Initialize per_cpu(xen_vcpu, 0) a little earlier xen_cpuhp_setup() calls mutex_lock() which, when CONFIG_DEBUG_MUTEXES is defined, ends up calling xen_save_fl(). That routine expects per_cpu(xen_vcpu, 0) to be already initialized. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reported-by: Sander Eikelenboom <linux@eikelenboom.it> Signed-off-by: David Vrabel <david.vrabel@citrix.com>