Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include remove workaround for old clang - i...
details: https://anonhg.NetBSD.org/src/rev/5af5ec205299
branches: trunk
changeset: 372326:5af5ec205299
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Nov 15 12:43:14 2022 +0000
description:
remove workaround for old clang - it's not needed anymore and caused problems
elsewhere
diffstat:
sys/arch/powerpc/include/cpu.h | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (22 lines):
diff -r e4b5d4c706ff -r 5af5ec205299 sys/arch/powerpc/include/cpu.h
--- a/sys/arch/powerpc/include/cpu.h Tue Nov 15 10:47:39 2022 +0000
+++ b/sys/arch/powerpc/include/cpu.h Tue Nov 15 12:43:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.122 2022/05/30 14:48:08 rin Exp $ */
+/* $NetBSD: cpu.h,v 1.123 2022/11/15 12:43:14 macallan Exp $ */
/*
* Copyright (C) 1999 Wolfgang Solfrank.
@@ -240,12 +240,8 @@
return ci;
}
-#ifdef __clang__
-#define curlwp (curcpu()->ci_curlwp)
-#else
register struct lwp *powerpc_curlwp __asm("r13");
#define curlwp powerpc_curlwp
-#endif
#define curpcb (curcpu()->ci_curpcb)
#define curpm (curcpu()->ci_curpm)
Home |
Main Index |
Thread Index |
Old Index