Mon May 2 06:29:24 2011 UTC ()
Fix cut/paste error.


(matt)
diff -r1.14 -r1.15 src/sys/arch/powerpc/include/altivec.h

cvs diff -r1.14 -r1.15 src/sys/arch/powerpc/include/altivec.h (expand / switch to unified diff)

--- src/sys/arch/powerpc/include/altivec.h 2011/05/02 02:01:32 1.14
+++ src/sys/arch/powerpc/include/altivec.h 2011/05/02 06:29:23 1.15
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: altivec.h,v 1.14 2011/05/02 02:01:32 matt Exp $ */ 1/* $NetBSD: altivec.h,v 1.15 2011/05/02 06:29:23 matt Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1999 The NetBSD Foundation, Inc. 4 * Copyright (c) 1999 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Matt Thomas. 8 * by Matt Thomas.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -52,27 +52,27 @@ void vec_restore_from_mcontext(struct lw @@ -52,27 +52,27 @@ void vec_restore_from_mcontext(struct lw
52bool vec_save_to_mcontext(struct lwp *, mcontext_t *, unsigned int *); 52bool vec_save_to_mcontext(struct lwp *, mcontext_t *, unsigned int *);
53 53
54int vec_siginfo_code(const struct trapframe *); 54int vec_siginfo_code(const struct trapframe *);
55 55
56static inline void 56static inline void
57vec_load(void) 57vec_load(void)
58{ 58{
59 pcu_load(&vec_ops); 59 pcu_load(&vec_ops);
60} 60}
61 61
62static inline void 62static inline void
63vec_save(void) 63vec_save(void)
64{ 64{
65 pcu_load(&vec_ops); 65 pcu_save(&vec_ops);
66} 66}
67 67
68static inline void 68static inline void
69vec_discard(void) 69vec_discard(void)
70{ 70{
71 pcu_discard(&vec_ops); 71 pcu_discard(&vec_ops);
72} 72}
73 73
74void vec_load_from_vreg(const struct vreg *); 74void vec_load_from_vreg(const struct vreg *);
75void vec_unload_to_vreg(struct vreg *); 75void vec_unload_to_vreg(struct vreg *);
76 76
77/* OEA only */ 77/* OEA only */
78void vzeropage(paddr_t); 78void vzeropage(paddr_t);