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
Merge tag 'fuse-update-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mszered...
[linux-2.6-microblaze.git]
/
arch
/
mips
/
kernel
/
uprobes.c
diff --git
a/arch/mips/kernel/uprobes.c
b/arch/mips/kernel/uprobes.c
index
6dbe4ea
..
9db2a6d
100644
(file)
--- a/
arch/mips/kernel/uprobes.c
+++ b/
arch/mips/kernel/uprobes.c
@@
-75,7
+75,7
@@
bool is_trap_insn(uprobe_opcode_t *insn)
case tlt_op:
case tltu_op:
case tne_op:
case tlt_op:
case tltu_op:
case tne_op:
- return
1
;
+ return
true
;
}
break;
}
break;
@@
-87,12
+87,12
@@
bool is_trap_insn(uprobe_opcode_t *insn)
case tlti_op:
case tltiu_op:
case tnei_op:
case tlti_op:
case tltiu_op:
case tnei_op:
- return
1
;
+ return
true
;
}
break;
}
}
break;
}
- return
0
;
+ return
false
;
}
#define UPROBE_TRAP_NR ULONG_MAX
}
#define UPROBE_TRAP_NR ULONG_MAX
@@
-254,9
+254,9
@@
unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
* See if the instruction can be emulated.
* Returns true if instruction was emulated, false otherwise.
*
* See if the instruction can be emulated.
* Returns true if instruction was emulated, false otherwise.
*
- * For now we always emulate so this function just returns
0
.
+ * For now we always emulate so this function just returns
false
.
*/
bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
{
*/
bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
{
- return
0
;
+ return
false
;
}
}