summaryrefslogtreecommitdiffstats
path: root/arch/x86/um/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/fault.c')
-rw-r--r--arch/x86/um/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/fault.c b/arch/x86/um/fault.c
index 8784ab30d91..84ac7f7b025 100644
--- a/arch/x86/um/fault.c
+++ b/arch/x86/um/fault.c
@@ -20,7 +20,7 @@ int arch_fixup(unsigned long address, struct uml_pt_regs *regs)
const struct exception_table_entry *fixup;
fixup = search_exception_tables(address);
- if (fixup != 0) {
+ if (fixup) {
UPT_IP(regs) = fixup->fixup;
return 1;
}