aboutsummaryrefslogtreecommitdiff
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/um/fault.c b/arch/x86/um/fault.c
index d670f68532f..84ac7f7b025 100644
--- a/arch/x86/um/fault.c
+++ b/arch/x86/um/fault.c
@@ -3,7 +3,7 @@
* Licensed under the GPL
*/
-#include "sysdep/ptrace.h"
+#include <sysdep/ptrace.h>
/* These two are from asm-um/uaccess.h and linux/module.h, check them. */
struct exception_table_entry
@@ -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;
}