Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/ibm4xx Remove unused macros.
details: https://anonhg.NetBSD.org/src/rev/9d9897a5ae58
branches: trunk
changeset: 1007946:9d9897a5ae58
user: rin <rin%NetBSD.org@localhost>
date: Thu Mar 05 11:33:14 2020 +0000
description:
Remove unused macros.
diffstat:
sys/arch/powerpc/ibm4xx/pic_uic.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (31 lines):
diff -r 9e8d1e62577b -r 9d9897a5ae58 sys/arch/powerpc/ibm4xx/pic_uic.c
--- a/sys/arch/powerpc/ibm4xx/pic_uic.c Thu Mar 05 08:36:53 2020 +0000
+++ b/sys/arch/powerpc/ibm4xx/pic_uic.c Thu Mar 05 11:33:14 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pic_uic.c,v 1.4 2013/11/19 12:46:43 kiyohara Exp $ */
+/* $NetBSD: pic_uic.c,v 1.5 2020/03/05 11:33:14 rin Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_uic.c,v 1.4 2013/11/19 12:46:43 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_uic.c,v 1.5 2020/03/05 11:33:14 rin Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -295,12 +295,6 @@
#endif /* MULTIUIC */
#endif /* !PPC_IBM403 */
-/* Write External Enable Immediate */
-#define wrteei(en) __asm volatile ("wrteei %0" : : "K"(en))
-
-/* Enforce In Order Execution of I/O */
-#define eieio() __asm volatile ("eieio")
-
/*
* Set up interrupt mapping array.
*/
Home |
Main Index |
Thread Index |
Old Index