From de130a5951bdec8c87d4cca14f7b001c2f5a6e3c Mon Sep 17 00:00:00 2001 From: miod Date: Wed, 23 Oct 2024 18:45:34 +0000 Subject: [PATCH] Remove not-used-in-the-last-20-years-or-so defines. --- sys/arch/hppa/include/cpu.h | 3 +-- sys/arch/hppa/include/trap.h | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h index e8e54249b6b..7b27ef49dee 100644 --- a/sys/arch/hppa/include/cpu.h +++ b/sys/arch/hppa/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.106 2024/10/23 07:52:55 mpi Exp $ */ +/* $OpenBSD: cpu.h,v 1.107 2024/10/23 18:45:34 miod Exp $ */ /* * Copyright (c) 2000-2004 Michael Shalayeff @@ -229,7 +229,6 @@ extern int cpu_hvers; #define CLKF_PC(framep) ((framep)->tf_iioq_head) #define CLKF_INTR(framep) ((framep)->tf_flags & TFF_INTR) #define CLKF_USERMODE(framep) ((framep)->tf_flags & T_USER) -#define CLKF_SYSCALL(framep) ((framep)->tf_flags & TFF_SYS) #define need_proftick(p) setsoftast(p) #define PROC_PC(p) ((p)->p_md.md_regs->tf_iioq_head & ~HPPA_PC_PRIV_MASK) diff --git a/sys/arch/hppa/include/trap.h b/sys/arch/hppa/include/trap.h index 7c21380f4fc..7ca212ea81d 100644 --- a/sys/arch/hppa/include/trap.h +++ b/sys/arch/hppa/include/trap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.h,v 1.12 2005/05/26 04:34:52 kettenis Exp $ */ +/* $OpenBSD: trap.h,v 1.13 2024/10/23 18:45:34 miod Exp $ */ /* * Copyright (c) 1999-2004 Michael Shalayeff @@ -75,12 +75,10 @@ * Various trap frame flags. */ #define TFF_LAST_POS 0 -#define TFF_ITLB_POS 1 -#define TFF_SYS_POS 2 -#define TFF_INTR_POS 3 +#define TFF_SYS_POS 1 +#define TFF_INTR_POS 2 #define TFF_LAST (1 << (31 - TFF_LAST_POS)) -#define TFF_ITLB (1 << (31 - TFF_ITLB_POS)) #define TFF_SYS (1 << (31 - TFF_SYS_POS)) #define TFF_INTR (1 << (31 - TFF_INTR_POS)) -- 2.20.1