blob: 1b26ee1a3084cb544af40fe536bc7f0fb5acd771 [file] [log] [blame] [edit]
/*
* ppc64 (dummy) spinlock implementation
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU Library General Public License version 2.
*/
#include <asm/spinlock.h>
void spin_lock(struct spinlock *lock)
{
lock->v = 1;
}
void spin_unlock(struct spinlock *lock)
{
lock->v = 0;
}