Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/oea avoid 32 bit only code in 64 bit mode.
details: https://anonhg.NetBSD.org/src/rev/c317167e2824
branches: trunk
changeset: 320910:c317167e2824
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Mar 04 21:51:44 2018 +0000
description:
avoid 32 bit only code in 64 bit mode.
diffstat:
sys/arch/powerpc/oea/cpu_subr.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r eca1db9ffd70 -r c317167e2824 sys/arch/powerpc/oea/cpu_subr.c
--- a/sys/arch/powerpc/oea/cpu_subr.c Sun Mar 04 21:42:28 2018 +0000
+++ b/sys/arch/powerpc/oea/cpu_subr.c Sun Mar 04 21:51:44 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_subr.c,v 1.89 2018/02/16 18:02:10 macallan Exp $ */
+/* $NetBSD: cpu_subr.c,v 1.90 2018/03/04 21:51:44 mrg Exp $ */
/*-
* Copyright (c) 2001 Matt Thomas.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.89 2018/02/16 18:02:10 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.90 2018/03/04 21:51:44 mrg Exp $");
#include "opt_ppcparam.h"
#include "opt_ppccache.h"
@@ -533,6 +533,7 @@
* Configure power-saving mode.
*/
switch (vers) {
+#if !defined(_ARCH_PPC64)
case MPC604:
case MPC604e:
case MPC604ev:
@@ -582,6 +583,7 @@
hid0 |= HID0_NAP | HID0_DPM;
powersave = 1;
break;
+#endif
case IBM970:
case IBM970FX:
Home |
Main Index |
Thread Index |
Old Index