* 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:
Stefan Reinauer 2007-06-30 22:55:10 +00:00
commit eec93e2ecb
3 changed files with 18 additions and 19 deletions

View file

@ -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)
{