https://github.com/torvalds/linux
Revision 32e1eb59f7042c03cb8dbb598e7c97fddbb62ac2 authored by Russell King on 04 July 2012, 16:04:57 UTC, committed by Russell King on 04 July 2012, 16:04:57 UTC
arch/arm/mach-versatile/pci.c: In function 'versatile_map_irq':
arch/arm/mach-versatile/pci.c:342: warning: unused variable 'devslot'

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 9e85a6f
Raw File
Tip revision: 32e1eb59f7042c03cb8dbb598e7c97fddbb62ac2 authored by Russell King on 04 July 2012, 16:04:57 UTC
ARM: fix mach-versatile/pci.c warning
Tip revision: 32e1eb5
smpboot.h
#ifndef SMPBOOT_H
#define SMPBOOT_H

struct task_struct;

int smpboot_prepare(unsigned int cpu);

#ifdef CONFIG_GENERIC_SMP_IDLE_THREAD
struct task_struct *idle_thread_get(unsigned int cpu);
void idle_thread_set_boot_cpu(void);
void idle_threads_init(void);
#else
static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; }
static inline void idle_thread_set_boot_cpu(void) { }
static inline void idle_threads_init(void) { }
#endif

#endif
back to top