tcp: md5: using remote adress for md5 lookup in rst packet
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / blackfin / include / asm / spinlock_types.h
blob1a33608c958b90fa0bd43aebd019c884389afa41
1 /*
2 * Copyright 2008 Analog Devices Inc.
4 * Licensed under the GPL-2 or later.
5 */
7 #ifndef __ASM_SPINLOCK_TYPES_H
8 #define __ASM_SPINLOCK_TYPES_H
10 #ifndef __LINUX_SPINLOCK_TYPES_H
11 # error "please don't include this file directly"
12 #endif
14 #include <asm/rwlock.h>
16 typedef struct {
17 volatile unsigned int lock;
18 } arch_spinlock_t;
20 #define __ARCH_SPIN_LOCK_UNLOCKED { 0 }
22 typedef struct {
23 volatile unsigned int lock;
24 } arch_rwlock_t;
26 #define __ARCH_RW_LOCK_UNLOCKED { RW_LOCK_BIAS }
28 #endif