* fix copyright headers to v2 only as suggested by Uwe
* drop silly code when not using SMP * fix device/device.c * drop spinlock_t, use struct spinlock instead. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> one kitten died already! ;-) git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@429 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
18da80c253
commit
eec93e2ecb
3 changed files with 18 additions and 19 deletions
|
|
@ -183,7 +183,9 @@ void constructor(struct device *dev, struct device_id *id)
|
|||
* @return Pointer to the newly created device structure.
|
||||
* @see device_path
|
||||
*/
|
||||
// static spinlock_t dev_lock = SPIN_LOCK_UNLOCKED;
|
||||
|
||||
spin_define(dev_lock);
|
||||
|
||||
struct device *alloc_dev(struct bus *parent, struct device_path *path,
|
||||
struct device_id *devid)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue