[PATCH] x86_64: fix boot time hang in detect_calgary()