OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [compat/] [linux/] [v2_0/] [include/] [linux/] [spinlock.h] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
#ifndef __LINUX_SPINLOCK_H__
2
#define __LINUX_SPINLOCK_H__
3
 
4
 
5
typedef struct { } spinlock_t;
6
#define SPIN_LOCK_UNLOCKED (spinlock_t) { }
7
#define spin_lock_init(lock) do{} while (0)
8
#define spin_lock(lock) do{} while (0)
9
#define spin_unlock(lock) do{} while (0)
10
#define spin_lock_bh(lock) do{} while (0)
11
#define spin_unlock_bh(lock) do{} while (0)
12
 
13
#endif /* __LINUX_SPINLOCK_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.