blob: 1fdb8ea9ead1c5661d3b8f044659349f3f1a42ab [file] [log] [blame]
#ifndef __COMMON_H__
#define __COMMON_H__
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/reboot.h>
#define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)
extern void mmp_timer_init(int irq, unsigned long rate);
extern void __init mmp_map_io(void);
extern void mmp_restart(enum reboot_mode, const char *);
extern void __init pxa_reserve_logmem(void);
extern void mmp_arch_restart(enum reboot_mode, const char *cmd);
extern bool __init mmp_smp_init_ops(void);
#endif