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/e37884efde7d
branches:  trunk
changeset: 745556:e37884efde7d
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 a099a4ecb594 -r e37884efde7d 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