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

From: Nelson, Shannon
Date: Fri Jul 20 2007 - 12:38:40 EST


David Miller [mailto:davem@xxxxxxxxxxxxx]
>
>> +static spinlock_t dca_lock;
> ...
>> + spin_lock_init(&dca_lock);
>
>It's easier to use DEFINE_SPINLOCK().
>

Thanks - I'll adjust that in a future patch.
sln
--
======================================================================
Mr. Shannon Nelson LAN Access Division, Intel Corp.
Shannon.Nelson@xxxxxxxxx I don't speak for Intel
(503) 712-7659 Parents can't afford to be squeamish.
-
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/