Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/marvell Add __CTASSERT(sizeof(imask_t) == s...
details: https://anonhg.NetBSD.org/src/rev/b32a7849d7dd
branches: trunk
changeset: 766277:b32a7849d7dd
user: matt <matt%NetBSD.org@localhost>
date: Mon Jun 20 06:22:23 2011 +0000
description:
Add __CTASSERT(sizeof(imask_t) == sizeof(uint64_t));
diffstat:
sys/arch/powerpc/marvell/pic_discovery.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 929211fec072 -r b32a7849d7dd sys/arch/powerpc/marvell/pic_discovery.c
--- a/sys/arch/powerpc/marvell/pic_discovery.c Mon Jun 20 06:21:45 2011 +0000
+++ b/sys/arch/powerpc/marvell/pic_discovery.c Mon Jun 20 06:22:23 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pic_discovery.c,v 1.4 2011/06/18 06:41:43 matt Exp $ */
+/* $NetBSD: pic_discovery.c,v 1.5 2011/06/20 06:22:23 matt Exp $ */
/*
* Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_discovery.c,v 1.4 2011/06/18 06:41:43 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_discovery.c,v 1.5 2011/06/20 06:22:23 matt Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -52,6 +52,8 @@
#include <dev/marvell/gtintrvar.h>
+__CTASSERT(sizeof(imask_t) == sizeof(uint64_t));
+
struct discovery_gpp_pic_ops;
struct discovery_pic_ops {
Home |
Main Index |
Thread Index |
Old Index