Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next
Pull sparc fixes from David Miller: "Sparc sparse fixes from Sam Ravnborg" * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next: (67 commits) sparc64: fix sparse warnings in int_64.c sparc64: fix sparse warning in ftrace.c sparc64: fix sparse warning in kprobes.c sparc64: fix sparse warning in kgdb_64.c sparc64: fix sparse warnings in compat_audit.c sparc64: fix sparse warnings in init_64.c sparc64: fix sparse warnings in aes_glue.c sparc: fix sparse warnings in smp_32.c + smp_64.c sparc64: fix sparse warnings in perf_event.c sparc64: fix sparse warnings in kprobes.c sparc64: fix sparse warning in tsb.c sparc64: clean up compat_sigset_t.seta handling sparc64: fix sparse "Should it be static?" warnings in signal32.c sparc64: fix sparse warnings in sys_sparc32.c sparc64: fix sparse warning in pci.c sparc64: fix sparse warnings in smp_64.c sparc64: fix sparse warning in prom_64.c sparc64: fix sparse warning in btext.c sparc64: fix sparse warnings in sys_sparc_64.c + unaligned_64.c sparc64: fix sparse warning in process_64.c ... Conflicts: arch/sparc/include/asm/pgtable_64.h
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <linux/ftrace.h>
|
||||
#include <linux/cpu.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/kgdb.h>
|
||||
|
||||
#include <asm/head.h>
|
||||
#include <asm/ptrace.h>
|
||||
@@ -35,6 +36,7 @@
|
||||
#include <asm/hvtramp.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/timer.h>
|
||||
#include <asm/setup.h>
|
||||
|
||||
#include <asm/irq.h>
|
||||
#include <asm/irq_regs.h>
|
||||
@@ -52,6 +54,7 @@
|
||||
#include <asm/pcr.h>
|
||||
|
||||
#include "cpumap.h"
|
||||
#include "kernel.h"
|
||||
|
||||
DEFINE_PER_CPU(cpumask_t, cpu_sibling_map) = CPU_MASK_NONE;
|
||||
cpumask_t cpu_core_map[NR_CPUS] __read_mostly =
|
||||
@@ -272,14 +275,6 @@ static void smp_synchronize_one_tick(int cpu)
|
||||
}
|
||||
|
||||
#if defined(CONFIG_SUN_LDOMS) && defined(CONFIG_HOTPLUG_CPU)
|
||||
/* XXX Put this in some common place. XXX */
|
||||
static unsigned long kimage_addr_to_ra(void *p)
|
||||
{
|
||||
unsigned long val = (unsigned long) p;
|
||||
|
||||
return kern_base + (val - KERNBASE);
|
||||
}
|
||||
|
||||
static void ldom_startcpu_cpuid(unsigned int cpu, unsigned long thread_reg,
|
||||
void **descrp)
|
||||
{
|
||||
@@ -867,11 +862,6 @@ extern unsigned long xcall_flush_dcache_page_cheetah;
|
||||
#endif
|
||||
extern unsigned long xcall_flush_dcache_page_spitfire;
|
||||
|
||||
#ifdef CONFIG_DEBUG_DCFLUSH
|
||||
extern atomic_t dcpage_flushes;
|
||||
extern atomic_t dcpage_flushes_xcall;
|
||||
#endif
|
||||
|
||||
static inline void __local_flush_dcache_page(struct page *page)
|
||||
{
|
||||
#ifdef DCACHE_ALIASING_POSSIBLE
|
||||
|
Reference in New Issue
Block a user