History

Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 updates from Ingo Molnar. This touches some non-x86 files due to the sanitized INLINE_SPIN_UNLOCK config usage. Fixed up trivial conflicts due to just header include changes (removing headers due to cpu_idle() merge clashing with the <asm/system.h> split). * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/apic/amd: Be more verbose about LVT offset assignments x86, tls: Off by one limit check x86/ioapic: Add io_apic_ops driver layer to allow interception x86/olpc: Add debugfs interface for EC commands x86: Merge the x86_32 and x86_64 cpu_idle() functions x86/kconfig: Remove CONFIG_TR=y from the defconfigs x86: Stop recursive fault in print_context_stack after stack overflow x86/io_apic: Move and reenable irq only when CONFIG_GENERIC_PENDING_IRQ=y x86/apic: Add separate apic_id_valid() functions for selected apic drivers locking/kconfig: Simplify INLINE_SPIN_UNLOCK usage x86/kconfig: Update defconfigs x86: Fix excessive MSR print out when show_msr is not specified

Linus Torvalds committed 14 years ago

Commit 6b8212a2 parents bcd5507 8abc31229 files · +436 −321Browse files

Showing the changes to kernel (3 of 29 files). Show all

Unified · Split

3 files
  1. kernel/Kconfig.locks +2 −2
  2. kernel/Kconfig.preempt +1 −0
  3. kernel/spinlock.c +1 −1
kernel/Kconfig.locks+2−2
@@ -124,8 +124,8 @@ config INLINE_SPIN_LOCK_IRQSAVE · 123 unmodified lines
124124 def_bool !DEBUG_SPINLOCK && !GENERIC_LOCKBREAK && \
125125 ARCH_INLINE_SPIN_LOCK_IRQSAVE
126126
127−config INLINE_SPIN_UNLOCK
128− def_bool !DEBUG_SPINLOCK && (!PREEMPT || ARCH_INLINE_SPIN_UNLOCK)
127+config UNINLINE_SPIN_UNLOCK
128+ bool
129129
130130 config INLINE_SPIN_UNLOCK_BH
131131 def_bool !DEBUG_SPINLOCK && ARCH_INLINE_SPIN_UNLOCK_BH
kernel/Kconfig.preempt+1−0
@@ -36,6 +36,7 @@ config PREEMPT_VOLUNTARY · 35 unmodified lines
3636 config PREEMPT
3737 bool "Preemptible Kernel (Low-Latency Desktop)"
3838 select PREEMPT_COUNT
39+ select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK
3940 help
4041 This option reduces the latency of the kernel by making
4142 all kernel code (that is not executing in a critical section)
kernel/spinlock.c+1−1
@@ -163,7 +163,7 @@ void __lockfunc _raw_spin_lock_bh(raw_spinlock_t *lock) · 162 unmodified lines
163163 EXPORT_SYMBOL(_raw_spin_lock_bh);
164164 #endif
165165
166−#ifndef CONFIG_INLINE_SPIN_UNLOCK
166+#ifdef CONFIG_UNINLINE_SPIN_UNLOCK
167167 void __lockfunc _raw_spin_unlock(raw_spinlock_t *lock)
168168 {
169169 __raw_spin_unlock(lock);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t