mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
7b6d864b48
Preparing to move the parsing of reboot= to generic kernel code forces the change in reboot_mode handling to use the enum. [akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c] Signed-off-by: Robin Holt <holt@sgi.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Russ Anderson <rja@sgi.com> Cc: Robin Holt <holt@sgi.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
33 lines
910 B
C
33 lines
910 B
C
/*
|
|
* Core functions for Marvell System On Chip
|
|
*
|
|
* Copyright (C) 2012 Marvell
|
|
*
|
|
* Lior Amsalem <alior@marvell.com>
|
|
* Gregory CLEMENT <gregory.clement@free-electrons.com>
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __ARCH_MVEBU_COMMON_H
|
|
#define __ARCH_MVEBU_COMMON_H
|
|
|
|
#define ARMADA_XP_MAX_CPUS 4
|
|
|
|
#include <linux/reboot.h>
|
|
|
|
void mvebu_restart(enum reboot_mode mode, const char *cmd);
|
|
|
|
void armada_370_xp_init_irq(void);
|
|
void armada_370_xp_handle_irq(struct pt_regs *regs);
|
|
|
|
void armada_xp_cpu_die(unsigned int cpu);
|
|
int armada_370_xp_coherency_init(void);
|
|
int armada_370_xp_pmsu_init(void);
|
|
void armada_xp_secondary_startup(void);
|
|
extern struct smp_operations armada_xp_smp_ops;
|
|
#endif
|