Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2f69ddcc
Commit
2f69ddcc
authored
Oct 03, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
57468af3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
arch/mips/au1000/common/dbdma.c
arch/mips/au1000/common/dbdma.c
+1
-1
arch/mips/pci/ops-nile4.c
arch/mips/pci/ops-nile4.c
+1
-1
arch/mips/pmc-sierra/yosemite/smp.c
arch/mips/pmc-sierra/yosemite/smp.c
+1
-1
arch/mips/vr41xx/common/cmu.c
arch/mips/vr41xx/common/cmu.c
+1
-1
arch/mips/vr41xx/common/vrc4173.c
arch/mips/vr41xx/common/vrc4173.c
+2
-2
No files found.
arch/mips/au1000/common/dbdma.c
View file @
2f69ddcc
...
...
@@ -58,7 +58,7 @@
* functions. The drivers allocate the data buffers and assign them
* to the descriptors.
*/
static
spinlock_t
au1xxx_dbdma_spin_lock
=
SPIN_LOCK_UNLOCKED
;
static
DEFINE_SPINLOCK
(
au1xxx_dbdma_spin_lock
)
;
/* I couldn't find a macro that did this......
*/
...
...
arch/mips/pci/ops-nile4.c
View file @
2f69ddcc
...
...
@@ -15,7 +15,7 @@
volatile
unsigned
long
*
const
vrc_pciregs
=
(
void
*
)
Vrc5074_BASE
;
static
spinlock_t
nile4_pci_lock
;
static
DEFINE_SPINLOCK
(
nile4_pci_lock
)
;
static
int
nile4_pcibios_config_access
(
unsigned
char
access_type
,
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
,
u32
*
val
)
...
...
arch/mips/pmc-sierra/yosemite/smp.c
View file @
2f69ddcc
...
...
@@ -9,7 +9,7 @@ extern void (*mips_hpt_init)(unsigned int);
#define LAUNCHSTACK_SIZE 256
static
spinlock_t
launch_lock
__initdata
;
static
__initdata
DEFINE_SPINLOCK
(
launch_lock
)
;
static
unsigned
long
secondary_sp
__initdata
;
static
unsigned
long
secondary_gp
__initdata
;
...
...
arch/mips/vr41xx/common/cmu.c
View file @
2f69ddcc
...
...
@@ -69,7 +69,7 @@
static
void
__iomem
*
cmu_base
;
static
uint16_t
cmuclkmsk
,
cmuclkmsk2
;
static
spinlock_t
cmu_lock
;
static
DEFINE_SPINLOCK
(
cmu_lock
)
;
#define cmu_read(offset) readw(cmu_base + (offset))
#define cmu_write(offset, value) writew((value), cmu_base + (offset))
...
...
arch/mips/vr41xx/common/vrc4173.c
View file @
2f69ddcc
...
...
@@ -81,8 +81,8 @@ EXPORT_SYMBOL(vrc4173_io_offset);
static
int
vrc4173_initialized
;
static
uint16_t
vrc4173_cmuclkmsk
;
static
uint16_t
vrc4173_selectreg
;
static
spinlock_t
vrc4173_cmu_lock
;
static
spinlock_t
vrc4173_giu_lock
;
static
DEFINE_SPINLOCK
(
vrc4173_cmu_lock
)
;
static
DEFINE_SPINLOCK
(
vrc4173_giu_lock
)
;
static
inline
void
set_cmusrst
(
uint16_t
val
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment