Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
arch
/
arm
/
kernel
/
patch.c
diff --git
a/kernel/arch/arm/kernel/patch.c
b/kernel/arch/arm/kernel/patch.c
index
69bda1a
..
1f665ac
100644
(file)
--- a/
kernel/arch/arm/kernel/patch.c
+++ b/
kernel/arch/arm/kernel/patch.c
@@
-15,7
+15,7
@@
struct patch {
unsigned int insn;
};
unsigned int insn;
};
-static DEFINE_SPINLOCK(patch_lock);
+static DEFINE_
RAW_
SPINLOCK(patch_lock);
static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags)
__acquires(&patch_lock)
static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags)
__acquires(&patch_lock)
@@
-32,7
+32,7
@@
static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags)
return addr;
if (flags)
return addr;
if (flags)
- spin_lock_irqsave(&patch_lock, *flags);
+
raw_
spin_lock_irqsave(&patch_lock, *flags);
else
__acquire(&patch_lock);
else
__acquire(&patch_lock);
@@
-47,7
+47,7
@@
static void __kprobes patch_unmap(int fixmap, unsigned long *flags)
clear_fixmap(fixmap);
if (flags)
clear_fixmap(fixmap);
if (flags)
- spin_unlock_irqrestore(&patch_lock, *flags);
+
raw_
spin_unlock_irqrestore(&patch_lock, *flags);
else
__release(&patch_lock);
}
else
__release(&patch_lock);
}