2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License version 2 as
4 * published by the Free Software Foundation.
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
11 * Copyright (C) 2015 ARM Limited
13 * Author: Mark Rutland <mark.rutland@arm.com>
16 #include <linux/linkage.h>
18 #include <asm/opcodes-sec.h>
19 #include <asm/opcodes-virt.h>
21 /* int __invoke_psci_fn_hvc(u32 function_id, u32 arg0, u32 arg1, u32 arg2) */
22 ENTRY(__invoke_psci_fn_hvc)
25 ENDPROC(__invoke_psci_fn_hvc)
27 /* int __invoke_psci_fn_smc(u32 function_id, u32 arg0, u32 arg1, u32 arg2) */
28 ENTRY(__invoke_psci_fn_smc)
31 ENDPROC(__invoke_psci_fn_smc)