2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (C) 2005 Embedded Alley Solutions, Inc
7 * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org)
8 * Copyright (C) 2009 Jiajie Chen (chenjiajie@cse.buaa.edu.cn)
9 * Copyright (C) 2012 Huacai Chen (chenhc@lemote.com)
11 #ifndef __ASM_MACH_LOONGSON64_KERNEL_ENTRY_H
12 #define __ASM_MACH_LOONGSON64_KERNEL_ENTRY_H
15 * Override macros used in arch/mips/kernel/head.S.
17 .macro kernel_entry_setup
18 #ifdef CONFIG_CPU_LOONGSON3
21 /* Set LPA on LOONGSON3 config3 */
25 /* Set ELPA on LOONGSON3 pagegrain */
34 * Do SMP slave processor setup.
36 .macro smp_slave_setup
37 #ifdef CONFIG_CPU_LOONGSON3
40 /* Set LPA on LOONGSON3 config3 */
44 /* Set ELPA on LOONGSON3 pagegrain */
52 #endif /* __ASM_MACH_LOONGSON64_KERNEL_ENTRY_H */