Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Add __BIT(n) macro



details:   https://anonhg.NetBSD.org/src/rev/a5b63e0a704d
branches:  trunk
changeset: 781268:a5b63e0a704d
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 29 22:25:05 2012 +0000

description:
Add __BIT(n) macro

diffstat:

 sys/arch/arm/include/asm.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 1e50d3ed14ef -r a5b63e0a704d sys/arch/arm/include/asm.h
--- a/sys/arch/arm/include/asm.h        Wed Aug 29 20:39:24 2012 +0000
+++ b/sys/arch/arm/include/asm.h        Wed Aug 29 22:25:05 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.14 2011/06/30 20:09:20 wiz Exp $     */
+/*     $NetBSD: asm.h,v 1.15 2012/08/29 22:25:05 matt Exp $    */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -39,6 +39,8 @@
 
 #include <arm/cdefs.h>
 
+#define        __BIT(n)        (1 << (n))
+
 #define _C_LABEL(x)    x
 #define        _ASM_LABEL(x)   x
 



Home | Main Index | Thread Index | Old Index