Fixed a bug on 64bit system.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Mon, 28 Jan 2013 09:06:57 +0000 (17:06 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 06:52:32 +0000 (14:52 +0800)
commite4325621280ce9d3150e28602aba0fa563857e0e
tree1ebce4c6d0f123952d8c89c7932b172371d9dd1d
parent4e51f9d897c6ebd08923ec06df91a14e08a0a7cb
Fixed a bug on 64bit system.

Previous implementation only considers the 32bit system.
This commit fix it. And use bsf rather than bsr, then we
don't really need to fixup the slot number according to
the bit width. And remove the non-intel platform code.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Tested-by: Feng, Boqun <boqun.feng@intel.com>
src/intel/intel_gpgpu.c