ltp: Remove RISC-V Patches

These no longer appear to be required, so let's remove them.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Alistair Francis
2019-09-10 01:10:46 -07:00
committed by Khem Raj
parent 11504e23cf
commit 1b726bf8bb
2 changed files with 0 additions and 30 deletions

View File

@@ -1,26 +0,0 @@
From 826dee234397233597849e4d2682f4fea5275afd Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 5 Mar 2019 13:24:25 -0800
Subject: [PATCH] ptrace: Do not include asm/ptrace.h on riscv
These defines conflict with bits/signal.h especially on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
testcases/kernel/syscalls/ptrace/ptrace.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--- a/testcases/kernel/syscalls/ptrace/ptrace.h
+++ b/testcases/kernel/syscalls/ptrace/ptrace.h
@@ -15,10 +15,7 @@
# define ia64_fpreg FU_ia64_fpreg
# define pt_all_user_regs FU_pt_all_user_regs
#endif
-#ifdef HAVE_ASM_PTRACE_H
-# include <asm/ptrace.h>
-#endif
-#ifdef HAVE_LINUX_PTRACE_H
+#if defined(HAVE_LINUX_PTRACE_H) && !defined(__riscv)
# ifndef HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS
# include <linux/ptrace.h>
# endif

View File

@@ -1,4 +0,0 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append_riscv64 = " file://0001-ptrace-Do-not-include-asm-ptrace.h-on-riscv.patch"
SRC_URI_append_riscv32 = " file://0001-ptrace-Do-not-include-asm-ptrace.h-on-riscv.patch"