projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm/i915/gem: Zap the client blt code
[linux-2.6-microblaze.git]
/
lib
/
stackdepot.c
diff --git
a/lib/stackdepot.c
b/lib/stackdepot.c
index
49f67a0
..
df9179f
100644
(file)
--- a/
lib/stackdepot.c
+++ b/
lib/stackdepot.c
@@
-71,7
+71,7
@@
static void *stack_slabs[STACK_ALLOC_MAX_SLABS];
static int depot_index;
static int next_slab_inited;
static size_t depot_offset;
static int depot_index;
static int next_slab_inited;
static size_t depot_offset;
-static DEFINE_SPINLOCK(depot_lock);
+static DEFINE_
RAW_
SPINLOCK(depot_lock);
static bool init_stack_slab(void **prealloc)
{
static bool init_stack_slab(void **prealloc)
{
@@
-305,7
+305,7
@@
depot_stack_handle_t stack_depot_save(unsigned long *entries,
prealloc = page_address(page);
}
prealloc = page_address(page);
}
- spin_lock_irqsave(&depot_lock, flags);
+
raw_
spin_lock_irqsave(&depot_lock, flags);
found = find_stack(*bucket, entries, nr_entries, hash);
if (!found) {
found = find_stack(*bucket, entries, nr_entries, hash);
if (!found) {
@@
-329,7
+329,7
@@
depot_stack_handle_t stack_depot_save(unsigned long *entries,
WARN_ON(!init_stack_slab(&prealloc));
}
WARN_ON(!init_stack_slab(&prealloc));
}
- spin_unlock_irqrestore(&depot_lock, flags);
+
raw_
spin_unlock_irqrestore(&depot_lock, flags);
exit:
if (prealloc) {
/* Nobody used this memory, ok to free it. */
exit:
if (prealloc) {
/* Nobody used this memory, ok to free it. */