Re: [PATCH 4/7] efi: Convert efi_call_virt to efi_call_virt_pointer

2016-07-04 Thread Matt Fleming
On Mon, 27 Jun, at 01:00:50PM, Ingo Molnar wrote: > > Note that while at it I renamed 'flags' to '__flags' because 'flags' is > a commonly used variable name and the 'efi_status_t __s' variable was > macro-prefixed already. > > Any objections? Nope, that's fine.

Re: [PATCH 4/7] efi: Convert efi_call_virt to efi_call_virt_pointer

2016-06-27 Thread Mark Rutland
On Mon, Jun 27, 2016 at 01:00:50PM +0200, Ingo Molnar wrote: > > * Matt Fleming wrote: > > > +#define efi_call_virt_pointer(p, f, args...) > > \ > > +({ \ > > + efi_status_t __s;

Re: [PATCH 4/7] efi: Convert efi_call_virt to efi_call_virt_pointer

2016-06-27 Thread Ingo Molnar
* Matt Fleming wrote: > +#define efi_call_virt_pointer(p, f, args...) \ > +({ \ > + efi_status_t __s; \ > + unsigned long flags;

[PATCH 4/7] efi: Convert efi_call_virt to efi_call_virt_pointer

2016-06-25 Thread Matt Fleming
From: Alex Thorlton This commit makes a few slight modifications to the efi_call_virt macro to get it to work with function pointers that are stored in locations other than efi.systab->runtime, and renames the macro to efi_call_virt_pointer. The majority of the changes here are to pull these mac