Re: [PATCH 6/7] DCA: Add Direct Cache Access driver

From: David Miller
Date: Thu Jul 19 2007 - 20:53:13 EST


From: Shannon Nelson <shannon.nelson@xxxxxxxxx>
Date: Thu, 19 Jul 2007 17:45:17 -0700

> +static spinlock_t dca_lock;
...
> + spin_lock_init(&dca_lock);

It's easier to use DEFINE_SPINLOCK().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/