Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa43972f authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: fixup many sparse errors.



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 7d96169c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ long* stack_start = &user_stack[STACK_SIZE];

void decompress_kernel(void)
{
	output_data = 0;
	output_data = NULL;
	output_ptr = PHYSADDR((unsigned long)&_text+PAGE_SIZE);
#ifdef CONFIG_29BIT
	output_ptr |= P2SEG;
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ struct clk {

/* Should be defined by processor-specific code */
void arch_init_clk_ops(struct clk_ops **, int type);
int __init arch_clk_init(void);

/* arch/sh/kernel/cpu/clock.c */
int clk_init(void);
+2 −2
Original line number Diff line number Diff line
@@ -194,6 +194,8 @@ __BUILD_MEMORY_STRING(w, u16)

#define IO_SPACE_LIMIT 0xffffffff

extern unsigned long generic_io_base;

/*
 * This function provides a method for the generic case where a board-specific
 * ioport_map simply needs to return the port + some arbitrary port base.
@@ -203,8 +205,6 @@ __BUILD_MEMORY_STRING(w, u16)
 */
static inline void __set_io_port_base(unsigned long pbase)
{
	extern unsigned long generic_io_base;

	generic_io_base = pbase;
}

+3 −0
Original line number Diff line number Diff line
@@ -41,6 +41,9 @@ static inline int generic_irq_demux(int irq)
#define irq_canonicalize(irq)	(irq)
#define irq_demux(irq)		sh_mv.mv_irq_demux(irq)

void init_IRQ(void);
asmlinkage int do_IRQ(unsigned int irq, struct pt_regs *regs);

#ifdef CONFIG_IRQSTACKS
extern void irq_ctx_init(int cpu);
extern void irq_ctx_exit(int cpu);
+4 −0
Original line number Diff line number Diff line
@@ -45,9 +45,13 @@ enum cpu_type {

/* Forward decl */
struct sh_cpuinfo;
struct seq_operations;

extern struct pt_regs fake_swapper_regs;

/* arch/sh/kernel/setup.c */
const char *get_cpu_subtype(struct sh_cpuinfo *c);
extern const struct seq_operations cpuinfo_op;

#ifdef CONFIG_VSYSCALL
int vsyscall_init(void);
Loading