android_kernel_xiaomi_sm8350/arch
Akinobu Mita 3d1712c91d [PATCH] x86_64: {set,clear,test}_bit() related cleanup and pci_mmcfg_init() fix
While working on these patch set, I found several possible cleanup on x86-64
and ia64.

akpm: I stole this from Andi's queue.

Not only does it clean up bitops.  It also unrelatedly changes the prototype
of pci_mmcfg_init() and removes its arch_initcall().  It seems that the wrong
two patches got joined together, but this is the one which has been tested.

This patch fixes the current x86_64 build error (the pci_mmcfg_init()
declaration in arch/i386/pci/pci.h disagrees with the definition in
arch/x86_64/pci/mmconfig.c)

This also means that x86_64's pci_mmcfg_init() gets called in the same (new)
manner as x86's: from arch/i386/pci/init.c:pci_access_init(), rather than via
initcall.

The bitops cleanups came along for free.

All this worked OK in -mm testing (since 2.6.16-rc4-mm1) because x86_64 was
tested with both patches applied.

Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Con Kolivas <kernel@kolivas.org>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-24 07:33:15 -08:00
..
alpha [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2006-03-22 17:32:09 -08:00
arm26 [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
cris [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
frv [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
h8300 [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
i386 [PATCH] more-for_each_cpu-conversions fix 2006-03-24 07:33:15 -08:00
ia64 [PATCH] kill _INLINE_ 2006-03-23 07:38:16 -08:00
m32r [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
m68k [PATCH] m68k: rtc driver cleanup 2006-03-23 07:38:08 -08:00
m68knommu [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
mips [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
parisc [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
powerpc [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
ppc [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
s390 [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sh [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sh64 [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sparc [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sparc64 [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
um [PATCH] x86: SMP alternatives 2006-03-23 07:38:04 -08:00
v850 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() 2006-03-20 13:42:58 -08:00
x86_64 [PATCH] x86_64: {set,clear,test}_bit() related cleanup and pci_mmcfg_init() fix 2006-03-24 07:33:15 -08:00
xtensa [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00