diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-08-25 19:34:59 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-08-25 19:34:59 +0800 |
commit | da48b67cfb6b4f115ae652dd5995c56fe2a2cf9b (patch) | |
tree | bda06d1c7b6edaec4743e237c3836cdd2cbf22fe /arch/loongarch/include/asm | |
parent | 84e762060147582912581fd99cb25f3559ec8c22 (diff) | |
download | linux-da48b67cfb6b4f115ae652dd5995c56fe2a2cf9b.tar.bz2 |
LoongArch: Cleanup reset routines with new API
Cleanup reset routines by using new do_kernel_power_off() instead of old
pm_power_off(), and then simplify the whole file (reset.c) organization
by inlining some functions. This cleanup also fix a poweroff error if EFI
runtime is disabled.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/include/asm')
-rw-r--r-- | arch/loongarch/include/asm/reboot.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/loongarch/include/asm/reboot.h b/arch/loongarch/include/asm/reboot.h deleted file mode 100644 index 51151749d8f0..000000000000 --- a/arch/loongarch/include/asm/reboot.h +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_REBOOT_H -#define _ASM_REBOOT_H - -extern void (*pm_restart)(void); - -#endif /* _ASM_REBOOT_H */ |