Re: [PATCH 1/3] efi/reboot: Add generic wrapper around EfiResetSystem()

From: Mark Salter
Date: Mon Jun 23 2014 - 17:19:09 EST


On Thu, 2014-06-19 at 14:40 +0100, Matt Fleming wrote:
> From: Matt Fleming <matt.fleming@xxxxxxxxx>
>
> Implement efi_reboot(), which is really just a wrapper around the
> EfiResetSystem() EFI runtime service, but it does at least allow us to
> funnel all callers through a single location.
>
> It also simplifies the callsites since users no longer need to check to
> see whether EFI_RUNTIME_SERVICES are enabled.
>
> Cc: Tony Luck <tony.luck@xxxxxxxxx>
> Cc: Mark Salter <msalter@xxxxxxxxxx>
> Signed-off-by: Matt Fleming <matt.fleming@xxxxxxxxx>
> ---

Tested-by: Mark Salter <msalter@xxxxxxxxxx>

>
> Mark, I reworked my efi_reboot() to more closely match your versino.
> Since we essentially wrote the same code I'd be happy to include your
> chosen Copyright notice, I just didn't want to be presumptuous and do it
> on your behalf without asking.
>

Copyright (c) 2014 Red Hat, Inc., Mark Salter <msalter@xxxxxxxxxx>

Thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/