]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/fsl_pci: fix 64 bit pci size issue
authorRoy Zang <tie-fei.zang@freescale.com>
Fri, 29 Mar 2013 13:06:17 +0000 (21:06 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 3 Apr 2013 16:24:29 +0000 (11:24 -0500)
commit2b4a8bd242d2880b232d07105981a8d31e8bc262
treeb4144ba2121441c4791dcaa571cefcfbb84c9ab0
parent4ba6c1f1259af47c2dba09f78e71b7a1673ad635
powerpc/fsl_pci: fix 64 bit pci size issue

The size might be 64 bit, so use ilog2() instead of __ilog2() or
__ilog2_u64().

ilog2() can select 32bit or 64bit function automatically.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c