this is to fix a deadloop in drm hang system issue.
authorZou Nan hai <nanhai.zou@intel.com>
Tue, 15 Jan 2008 01:19:02 +0000 (09:19 +0800)
committerZou Nan hai <nanhai.zou@intel.com>
Tue, 15 Jan 2008 01:19:02 +0000 (09:19 +0800)
commit806c1929dcd344f6eab3133584a9c4ce9f3f47bc
tree217db4d5a0d7648d726b70ad7e156621fc31715f
parent62df4f0a48776e55443d7f61a41e1ed0fb77b6ed
 this is to fix a deadloop in drm hang system issue.
 (1 << bits) is an undefined value when bits == 32.
 gcc may generate 1 with this expression
 which will lead to an infinite retry loop in
 drm_ht_just_insert_please.
 Because of the different implement of hash_long,
 this  issue is more frequenly see on 64 bit system
linux-core/drm_object.c