aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32/include/mach/pm.h
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2020-06-10 09:45:20 +0300
committerMike Rapoport <rppt@linux.ibm.com>2020-07-01 12:09:13 +0300
commitfb37409a01b011a664347702f44dbf13fa7c7486 (patch)
treef9422acc3b91dd0df2721eaca9209e867fe10eb9 /arch/unicore32/include/mach/pm.h
parentLinux 5.8-rc3 (diff)
downloadlinux-dev-fb37409a01b011a664347702f44dbf13fa7c7486.tar.xz
linux-dev-fb37409a01b011a664347702f44dbf13fa7c7486.zip
arch: remove unicore32 port
The unicore32 port do not seem maintained for a long time now, there is no upstream toolchain that can create unicore32 binaries and all the links to prebuilt toolchains for unicore32 are dead. Even compilers that were available are not supported by the kernel anymore. Guenter Roeck says: I have stopped building unicore32 images since v4.19 since there is no available compiler that is still supported by the kernel. I am surprised that support for it has not been removed from the kernel. Remove unicore32 port. Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'arch/unicore32/include/mach/pm.h')
-rw-r--r--arch/unicore32/include/mach/pm.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/arch/unicore32/include/mach/pm.h b/arch/unicore32/include/mach/pm.h
deleted file mode 100644
index cb40b8490a57..000000000000
--- a/arch/unicore32/include/mach/pm.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * linux/arch/unicore/include/mach/pm.h
- *
- * Code specific to PKUnity SoC and UniCore ISA
- *
- * Copyright (C) 2001-2010 GUAN Xue-tao
- */
-#ifndef __PUV3_PM_H__
-#define __PUV3_PM_H__
-
-#include <linux/suspend.h>
-
-struct puv3_cpu_pm_fns {
- int save_count;
- void (*save)(unsigned long *);
- void (*restore)(unsigned long *);
- int (*valid)(suspend_state_t state);
- void (*enter)(suspend_state_t state);
- int (*prepare)(void);
- void (*finish)(void);
-};
-
-extern struct puv3_cpu_pm_fns *puv3_cpu_pm_fns;
-
-/* sleep.S */
-extern void puv3_cpu_suspend(unsigned int);
-
-extern void puv3_cpu_resume(void);
-
-extern int puv3_pm_enter(suspend_state_t state);
-
-/* Defined in hibernate_asm.S */
-extern int restore_image(pgd_t *resume_pg_dir, struct pbe *restore_pblist);
-
-extern struct pbe *restore_pblist;
-#endif