[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 27/27] x86: clean up traps.c



On 08/06/17 18:12, Wei Liu wrote:
> @@ -1081,8 +1081,8 @@ void do_int3(struct cpu_user_regs *regs)
>      pv_inject_hw_exception(TRAP_int3, X86_EVENT_NO_EC);
>  }
>  
> -static void reserved_bit_page_fault(
> -    unsigned long addr, struct cpu_user_regs *regs)
> +static void reserved_bit_page_fault(unsigned long addr,
> +                                    struct cpu_user_regs *regs)

Why are these prototypes changing?  For this case, it doesn't matter,
but the former is necessary if any of them gain more parameters.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.