From 8bde9e4f37df7cc6b60d818363e5981e46356b3d Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 17 Aug 2023 03:29:43 +0000 Subject: kernel/amd64: machdep: Refactor attribute usage Use __weak only in headers git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@30 a8a8aea2-181d-ee11-89e8-15fd0e089fc4 --- sys/include/sys/machdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/include') diff --git a/sys/include/sys/machdep.h b/sys/include/sys/machdep.h index b9a6221..bd914bb 100644 --- a/sys/include/sys/machdep.h +++ b/sys/include/sys/machdep.h @@ -37,8 +37,8 @@ #if defined(_KERNEL) -void processor_init(void); -void processor_halt(void); +__weak void processor_init(void); +__weak void processor_halt(void); #endif /* defined(_KERNEL) */ #endif /* !_SYS_MACHDEP_H_ */ -- cgit v1.2.3