Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc Fix code that's been broken for ove...
details: https://anonhg.NetBSD.org/src/rev/c846f8e462e8
branches: trunk
changeset: 766514:c846f8e462e8
user: matt <matt%NetBSD.org@localhost>
date: Fri Jun 24 22:19:45 2011 +0000
description:
Fix code that's been broken for over seven years...
diffstat:
sys/arch/powerpc/powerpc/powerpc_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b20d5b6f96ad -r c846f8e462e8 sys/arch/powerpc/powerpc/powerpc_machdep.c
--- a/sys/arch/powerpc/powerpc/powerpc_machdep.c Fri Jun 24 21:30:36 2011 +0000
+++ b/sys/arch/powerpc/powerpc/powerpc_machdep.c Fri Jun 24 22:19:45 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: powerpc_machdep.c,v 1.57 2011/06/21 06:32:36 matt Exp $ */
+/* $NetBSD: powerpc_machdep.c,v 1.58 2011/06/24 22:19:45 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: powerpc_machdep.c,v 1.57 2011/06/21 06:32:36 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: powerpc_machdep.c,v 1.58 2011/06/24 22:19:45 matt Exp $");
#include "opt_altivec.h"
#include "opt_modular.h"
@@ -159,7 +159,7 @@
struct sysctlnode node = *rnode;
if (powersave < 0)
- node.sysctl_flags |= ~CTLFLAG_READWRITE;
+ node.sysctl_flags &= ~CTLFLAG_READWRITE;
return (sysctl_lookup(SYSCTLFN_CALL(&node)));
}
#endif
Home |
Main Index |
Thread Index |
Old Index