Loading arch/arm/mach-pxa/lubbock.c +6 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,11 @@ static struct pxa2xx_udc_mach_info udc_info __initdata = { // no D+ pullup; lubbock can't connect/disconnect in software }; static struct platform_device lub_audio_device = { .name = "pxa2xx-ac97", .id = -1, }; static struct resource sa1111_resources[] = { [0] = { .start = 0x10000000, Loading Loading @@ -195,6 +200,7 @@ static struct platform_device smc91x_device = { static struct platform_device *devices[] __initdata = { &sa1111_device, &lub_audio_device, &smc91x_device, }; Loading arch/i386/Kconfig +0 −5 Original line number Diff line number Diff line Loading @@ -908,11 +908,6 @@ config IRQBALANCE The default yes will allow the kernel to do irq load balancing. Saying no will keep the kernel from doing irq load balancing. config HAVE_DEC_LOCK bool depends on (SMP || PREEMPT) && X86_CMPXCHG default y # turning this on wastes a bunch of space. # Summit needs it only when NUMA is on config BOOT_IOREMAP Loading arch/i386/kernel/acpi/earlyquirk.c +0 −10 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ #include <linux/pci.h> #include <asm/pci-direct.h> #include <asm/acpi.h> #include <asm/apic.h> static int __init check_bridge(int vendor, int device) { Loading @@ -16,15 +15,6 @@ static int __init check_bridge(int vendor, int device) if (vendor == PCI_VENDOR_ID_NVIDIA) { acpi_skip_timer_override = 1; } #ifdef CONFIG_X86_LOCAL_APIC /* * ATI IXP chipsets get double timer interrupts. * For now just do this for all ATI chipsets. * FIXME: this needs to be checked for the non ACPI case too. */ if (vendor == PCI_VENDOR_ID_ATI) disable_timer_pin_1 = 1; #endif return 0; } Loading arch/i386/lib/Makefile +0 −1 Original line number Diff line number Diff line Loading @@ -7,4 +7,3 @@ lib-y = checksum.o delay.o usercopy.o getuser.o putuser.o memcpy.o strstr.o \ bitops.o lib-$(CONFIG_X86_USE_3DNOW) += mmx.o lib-$(CONFIG_HAVE_DEC_LOCK) += dec_and_lock.o arch/i386/lib/dec_and_lock.cdeleted 100644 → 0 +0 −42 Original line number Diff line number Diff line /* * x86 version of "atomic_dec_and_lock()" using * the atomic "cmpxchg" instruction. * * (For CPU's lacking cmpxchg, we use the slow * generic version, and this one never even gets * compiled). */ #include <linux/spinlock.h> #include <linux/module.h> #include <asm/atomic.h> int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock) { int counter; int newcount; repeat: counter = atomic_read(atomic); newcount = counter-1; if (!newcount) goto slow_path; asm volatile("lock; cmpxchgl %1,%2" :"=a" (newcount) :"r" (newcount), "m" (atomic->counter), "0" (counter)); /* If the above failed, "eax" will have changed */ if (newcount != counter) goto repeat; return 0; slow_path: spin_lock(lock); if (atomic_dec_and_test(atomic)) return 1; spin_unlock(lock); return 0; } EXPORT_SYMBOL(_atomic_dec_and_lock); Loading
arch/arm/mach-pxa/lubbock.c +6 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,11 @@ static struct pxa2xx_udc_mach_info udc_info __initdata = { // no D+ pullup; lubbock can't connect/disconnect in software }; static struct platform_device lub_audio_device = { .name = "pxa2xx-ac97", .id = -1, }; static struct resource sa1111_resources[] = { [0] = { .start = 0x10000000, Loading Loading @@ -195,6 +200,7 @@ static struct platform_device smc91x_device = { static struct platform_device *devices[] __initdata = { &sa1111_device, &lub_audio_device, &smc91x_device, }; Loading
arch/i386/Kconfig +0 −5 Original line number Diff line number Diff line Loading @@ -908,11 +908,6 @@ config IRQBALANCE The default yes will allow the kernel to do irq load balancing. Saying no will keep the kernel from doing irq load balancing. config HAVE_DEC_LOCK bool depends on (SMP || PREEMPT) && X86_CMPXCHG default y # turning this on wastes a bunch of space. # Summit needs it only when NUMA is on config BOOT_IOREMAP Loading
arch/i386/kernel/acpi/earlyquirk.c +0 −10 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ #include <linux/pci.h> #include <asm/pci-direct.h> #include <asm/acpi.h> #include <asm/apic.h> static int __init check_bridge(int vendor, int device) { Loading @@ -16,15 +15,6 @@ static int __init check_bridge(int vendor, int device) if (vendor == PCI_VENDOR_ID_NVIDIA) { acpi_skip_timer_override = 1; } #ifdef CONFIG_X86_LOCAL_APIC /* * ATI IXP chipsets get double timer interrupts. * For now just do this for all ATI chipsets. * FIXME: this needs to be checked for the non ACPI case too. */ if (vendor == PCI_VENDOR_ID_ATI) disable_timer_pin_1 = 1; #endif return 0; } Loading
arch/i386/lib/Makefile +0 −1 Original line number Diff line number Diff line Loading @@ -7,4 +7,3 @@ lib-y = checksum.o delay.o usercopy.o getuser.o putuser.o memcpy.o strstr.o \ bitops.o lib-$(CONFIG_X86_USE_3DNOW) += mmx.o lib-$(CONFIG_HAVE_DEC_LOCK) += dec_and_lock.o
arch/i386/lib/dec_and_lock.cdeleted 100644 → 0 +0 −42 Original line number Diff line number Diff line /* * x86 version of "atomic_dec_and_lock()" using * the atomic "cmpxchg" instruction. * * (For CPU's lacking cmpxchg, we use the slow * generic version, and this one never even gets * compiled). */ #include <linux/spinlock.h> #include <linux/module.h> #include <asm/atomic.h> int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock) { int counter; int newcount; repeat: counter = atomic_read(atomic); newcount = counter-1; if (!newcount) goto slow_path; asm volatile("lock; cmpxchgl %1,%2" :"=a" (newcount) :"r" (newcount), "m" (atomic->counter), "0" (counter)); /* If the above failed, "eax" will have changed */ if (newcount != counter) goto repeat; return 0; slow_path: spin_lock(lock); if (atomic_dec_and_test(atomic)) return 1; spin_unlock(lock); return 0; } EXPORT_SYMBOL(_atomic_dec_and_lock);