From 04241951a8d1583531f45033e7bb3aa58a6a862c Mon Sep 17 00:00:00 2001 From: jca Date: Tue, 6 Dec 2022 00:08:38 +0000 Subject: [PATCH] Drop unused WEAK_REFERENCE macro Probably coming from FreeBSD. We already have WEAK_ALIAS a few lines above. ok mlarkin@ guenther@ --- sys/arch/riscv64/include/asm.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/arch/riscv64/include/asm.h b/sys/arch/riscv64/include/asm.h index 35b211d2a4a..fa55fea06cb 100644 --- a/sys/arch/riscv64/include/asm.h +++ b/sys/arch/riscv64/include/asm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asm.h,v 1.7 2022/12/03 15:02:30 jca Exp $ */ +/* $OpenBSD: asm.h,v 1.8 2022/12/06 00:08:38 jca Exp $ */ /* * Copyright (c) 2020 Brian Bamsch @@ -108,10 +108,6 @@ .weak alias; \ alias = sym -#define WEAK_REFERENCE(sym, alias) \ - .weak alias; \ - .set alias,sym - #define SWAP_FAULT_HANDLER(handler, tmp0, tmp1) \ ld tmp0, CI_CURPCB(tp); /* Load the pcb */ \ ld tmp1, PCB_ONFAULT(tmp0); /* Save old handler */ \ -- 2.20.1