* [PATCH v2] arm64: extable: remove unsed ex_handler_t definition
@ 2021-11-19 4:46 ` Jisheng Zhang
0 siblings, 0 replies; 4+ messages in thread
From: Jisheng Zhang @ 2021-11-19 4:46 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Mark Rutland; +Cc: linux-arm-kernel, linux-kernel
From: Jisheng Zhang <jszhang@kernel.org>
The ex_handler_t type was introduced in commit d6e2cc564775 ("arm64:
extable: add `type` and `data` fields"), but has never been used, and
is unnecessary. Remove it.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
---
Since v1:
- update commit msg as Mark suggested, thank Mark
- add Mark's Acked-by tag
arch/arm64/mm/extable.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm64/mm/extable.c b/arch/arm64/mm/extable.c
index c3d53811a15e..c0181e60cc98 100644
--- a/arch/arm64/mm/extable.c
+++ b/arch/arm64/mm/extable.c
@@ -10,9 +10,6 @@
#include <asm/asm-extable.h>
#include <asm/ptrace.h>
-typedef bool (*ex_handler_t)(const struct exception_table_entry *,
- struct pt_regs *);
-
static inline unsigned long
get_ex_fixup(const struct exception_table_entry *ex)
{
--
2.33.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2] arm64: extable: remove unsed ex_handler_t definition
@ 2021-11-19 4:46 ` Jisheng Zhang
0 siblings, 0 replies; 4+ messages in thread
From: Jisheng Zhang @ 2021-11-19 4:46 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Mark Rutland; +Cc: linux-arm-kernel, linux-kernel
From: Jisheng Zhang <jszhang@kernel.org>
The ex_handler_t type was introduced in commit d6e2cc564775 ("arm64:
extable: add `type` and `data` fields"), but has never been used, and
is unnecessary. Remove it.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
---
Since v1:
- update commit msg as Mark suggested, thank Mark
- add Mark's Acked-by tag
arch/arm64/mm/extable.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm64/mm/extable.c b/arch/arm64/mm/extable.c
index c3d53811a15e..c0181e60cc98 100644
--- a/arch/arm64/mm/extable.c
+++ b/arch/arm64/mm/extable.c
@@ -10,9 +10,6 @@
#include <asm/asm-extable.h>
#include <asm/ptrace.h>
-typedef bool (*ex_handler_t)(const struct exception_table_entry *,
- struct pt_regs *);
-
static inline unsigned long
get_ex_fixup(const struct exception_table_entry *ex)
{
--
2.33.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm64: extable: remove unsed ex_handler_t definition
2021-11-19 4:46 ` Jisheng Zhang
@ 2021-12-06 17:28 ` Catalin Marinas
-1 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2021-12-06 17:28 UTC (permalink / raw)
To: Jisheng Zhang, Mark Rutland, Will Deacon; +Cc: linux-arm-kernel, linux-kernel
On Fri, 19 Nov 2021 12:46:08 +0800, Jisheng Zhang wrote:
> The ex_handler_t type was introduced in commit d6e2cc564775 ("arm64:
> extable: add `type` and `data` fields"), but has never been used, and
> is unnecessary. Remove it.
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: extable: remove unsed ex_handler_t definition
https://git.kernel.org/arm64/c/fde046e07d33
--
Catalin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm64: extable: remove unsed ex_handler_t definition
@ 2021-12-06 17:28 ` Catalin Marinas
0 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2021-12-06 17:28 UTC (permalink / raw)
To: Jisheng Zhang, Mark Rutland, Will Deacon; +Cc: linux-arm-kernel, linux-kernel
On Fri, 19 Nov 2021 12:46:08 +0800, Jisheng Zhang wrote:
> The ex_handler_t type was introduced in commit d6e2cc564775 ("arm64:
> extable: add `type` and `data` fields"), but has never been used, and
> is unnecessary. Remove it.
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: extable: remove unsed ex_handler_t definition
https://git.kernel.org/arm64/c/fde046e07d33
--
Catalin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-06 17:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 4:46 [PATCH v2] arm64: extable: remove unsed ex_handler_t definition Jisheng Zhang
2021-11-19 4:46 ` Jisheng Zhang
2021-12-06 17:28 ` Catalin Marinas
2021-12-06 17:28 ` Catalin Marinas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.