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 LKM was gone. _KERNEL is always def...



details:   https://anonhg.NetBSD.org/src/rev/b19039806ccb
branches:  trunk
changeset: 973615:b19039806ccb
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Jul 06 08:18:57 2020 +0000

description:
LKM was gone. _KERNEL is always defined for module.

diffstat:

 sys/arch/powerpc/include/frame.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f89730252330 -r b19039806ccb sys/arch/powerpc/include/frame.h
--- a/sys/arch/powerpc/include/frame.h  Mon Jul 06 08:17:01 2020 +0000
+++ b/sys/arch/powerpc/include/frame.h  Mon Jul 06 08:18:57 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frame.h,v 1.27 2016/01/24 19:49:35 christos Exp $      */
+/*     $NetBSD: frame.h,v 1.28 2020/07/06 08:18:57 rin Exp $   */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -159,7 +159,7 @@
        __register_t ktf_cframe_lr;     /* for DDB */
 };
 
-#if defined(_KERNEL) || defined(_LKM)
+#if defined(_KERNEL)
 #ifdef _LP64
 struct utrapframe32 {
        __register32_t fixreg[32];
@@ -174,7 +174,7 @@
        int spare;
 };
 #endif
-#endif /* _KERNEL || _LKM */
+#endif /* _KERNEL */
 
 /*
  * This is to ensure alignment of the stackpointer



Home | Main Index | Thread Index | Old Index