From 2adc827ff2ba39f950bbef1474cceed1981b5ea0 Mon Sep 17 00:00:00 2001 From: Sasha Levin Date: Thu, 20 Dec 2012 14:11:35 -0500 Subject: [PATCH] --- yaml --- r: 350225 b: refs/heads/master c: 7be0b06520e8219e28f54cd05e1310e7e2d921ee h: refs/heads/master i: 350223: af22fce439ff477a05ab9e08bea1dce675411c06 v: v3 --- [refs] | 2 +- trunk/arch/x86/um/fault.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ef2f35426f0b..9b1c044e7717 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6444174548f6556fcf26c84d5296defd295914c4 +refs/heads/master: 7be0b06520e8219e28f54cd05e1310e7e2d921ee diff --git a/trunk/arch/x86/um/fault.c b/trunk/arch/x86/um/fault.c index 8784ab30d91b..84ac7f7b0257 100644 --- a/trunk/arch/x86/um/fault.c +++ b/trunk/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; }