1
linux/drivers/char/agp
Fengguang Wu e57aa839ce convert ill defined log2() to ilog2()
It's *wrong* to have
			#define log2(n) ffz(~(n))
It should be *reversed*:
			#define log2(n) flz(~(n))
or
			#define log2(n) fls(n)
or just use
			ilog2(n) defined in linux/log2.h.

This patch follows the last solution, recommended by Andrew Morton.

Cc: <linux-ext4@vger.kernel.org>
Cc: Mingming Cao <cmm@us.ibm.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Chris Ahna <christopher.j.ahna@intel.com>
Cc: David Mosberger-Tang <davidm@hpl.hp.com>
Cc: Kyle McMartin <kyle@parisc-linux.org>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:48 -07:00
..
agp.h AGP fix race condition between unmapping and freeing pages 2007-10-15 10:32:15 +10:00
ali-agp.c AGP fix race condition between unmapping and freeing pages 2007-10-15 10:32:15 +10:00
alpha-agp.c PCI: Convert to alloc_pci_dev() 2007-05-02 19:02:37 -07:00
amd64-agp.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
amd-k7-agp.c fix use after free in amd create gatt pages 2007-10-15 10:32:15 +10:00
ati-agp.c agp: balance ioremap checks 2007-08-25 18:14:00 +10:00
backend.c AGP fix race condition between unmapping and freeing pages 2007-10-15 10:32:15 +10:00
compat_ioctl.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
compat_ioctl.h
efficeon-agp.c efficeon-agp leaks 'struct agp_bridge_data' in error paths of agp_efficeon_probe() 2007-08-06 07:30:20 +10:00
frontend.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
generic.c AGP fix race condition between unmapping and freeing pages 2007-10-15 10:32:15 +10:00
hp-agp.c convert ill defined log2() to ilog2() 2007-10-17 08:42:48 -07:00
i460-agp.c convert ill defined log2() to ilog2() 2007-10-17 08:42:48 -07:00
intel-agp.c AGP fix race condition between unmapping and freeing pages 2007-10-15 10:32:15 +10:00
isoch.c
Kconfig video gfx: merge kconfig menus 2007-10-16 09:43:20 -07:00
Makefile
nvidia-agp.c agp: balance ioremap checks 2007-08-25 18:14:00 +10:00
parisc-agp.c convert ill defined log2() to ilog2() 2007-10-17 08:42:48 -07:00
sgi-agp.c agp: don't lock pages 2007-07-27 10:46:26 +10:00
sis-agp.c
sworks-agp.c [AGPGART] sworks-agp: Switch to PCI ref counting APIs 2007-04-26 14:22:51 -04:00
uninorth-agp.c [POWERPC] Rename get_property to of_get_property: drivers 2007-05-02 20:04:32 +10:00
via-agp.c agp: Add device id for P4M900 to via-agp module 2007-08-25 18:10:52 +10:00