Module Name: src
Committed By: matt
Date: Wed Aug 29 22:25:05 UTC 2012
Modified Files:
src/sys/arch/arm/include: asm.h
Log Message:
Add __BIT(n) macro
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/include/asm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/include/asm.h
diff -u src/sys/arch/arm/include/asm.h:1.14 src/sys/arch/arm/include/asm.h:1.15
--- src/sys/arch/arm/include/asm.h:1.14 Thu Jun 30 20:09:20 2011
+++ src/sys/arch/arm/include/asm.h Wed Aug 29 22:25:05 2012
@@ -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