ARM: S3C2410: H1940: Add battery support
[cascardo/linux.git] / arch / um / sys-x86_64 / fault.c
index 4636b14..ce85117 100644 (file)
@@ -14,14 +14,15 @@ struct exception_table_entry
 };
 
 const struct exception_table_entry *search_exception_tables(unsigned long add);
-int arch_fixup(unsigned long address, union uml_pt_regs *regs)
+
+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 != 0) {
                UPT_IP(regs) = fixup->fixup;
-               return(1);
+               return 1;
        }
-       return(0);
+       return 0;
 }