Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/booke #if 0 unused copyin_halfword.
details: https://anonhg.NetBSD.org/src/rev/41ddb83a8e99
branches: trunk
changeset: 330891:41ddb83a8e99
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jul 24 23:27:25 2014 +0000
description:
#if 0 unused copyin_halfword.
diffstat:
sys/arch/powerpc/booke/copyin.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r badf78b0ca95 -r 41ddb83a8e99 sys/arch/powerpc/booke/copyin.c
--- a/sys/arch/powerpc/booke/copyin.c Thu Jul 24 23:25:53 2014 +0000
+++ b/sys/arch/powerpc/booke/copyin.c Thu Jul 24 23:27:25 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copyin.c,v 1.5 2012/03/16 07:23:38 matt Exp $ */
+/* $NetBSD: copyin.c,v 1.6 2014/07/24 23:27:25 joerg Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: copyin.c,v 1.5 2012/03/16 07:23:38 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: copyin.c,v 1.6 2014/07/24 23:27:25 joerg Exp $");
#include <sys/param.h>
#include <sys/lwp.h>
@@ -60,6 +60,7 @@
return data;
}
+#if 0
static inline uint16_t
copyin_halfword(const uint16_t * const usaddr16, register_t ds_msr)
{
@@ -74,6 +75,7 @@
: [ds_msr] "r" (ds_msr), [usaddr16] "b" (usaddr16));
return data;
}
+#endif
static inline uint32_t
copyin_word(const uint32_t * const usaddr32, register_t ds_msr)
Home |
Main Index |
Thread Index |
Old Index