kernel_optimize_test/arch/mips/sgi-ip27/ip27-common.h
Thomas Bogendoerfer c823f41609
MIPS: SGI-IP27: move registering of smp ops into IP27 specific code
Calling register_smp_ops() in plat_mem_setup() is still early enough.
So by doing this we could remove the ugly #ifdef CONFIG_SGI_IP27 in
fw/arc/init.c.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
2019-10-23 21:10:31 -07:00

11 lines
251 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __IP27_COMMON_H
#define __IP27_COMMON_H
extern void ip27_reboot_setup(void);
extern void hub_rt_clock_event_init(void);
extern const struct plat_smp_ops ip27_smp_ops;
#endif /* __IP27_COMMON_H */