powerpc/sparse: make some things static
This is just a smattering of things picked up by sparse that should be made static. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
1d1451655b
commit
34852ed551
@@ -65,7 +65,7 @@ static int handle_fault(struct pt_regs *regs)
|
||||
#ifdef CONFIG_SMP
|
||||
|
||||
static atomic_t cpus_in_crash;
|
||||
void crash_ipi_callback(struct pt_regs *regs)
|
||||
static void crash_ipi_callback(struct pt_regs *regs)
|
||||
{
|
||||
static cpumask_t cpus_state_saved = CPU_MASK_NONE;
|
||||
|
||||
|
@@ -35,7 +35,7 @@ static DEFINE_PER_CPU(struct cpu, cpu_devices);
|
||||
#ifdef CONFIG_PPC64
|
||||
|
||||
/* Time in microseconds we delay before sleeping in the idle loop */
|
||||
DEFINE_PER_CPU(long, smt_snooze_delay) = { 100 };
|
||||
static DEFINE_PER_CPU(long, smt_snooze_delay) = { 100 };
|
||||
|
||||
static ssize_t store_smt_snooze_delay(struct device *dev,
|
||||
struct device_attribute *attr,
|
||||
|
Reference in New Issue
Block a user