[PATCH v2 2/6] efivars: Keep a private global pointer to efivars

2013-04-16 Thread Matt Fleming
From: Matt Fleming Some machines have an EFI variable interface that does not conform to the UEFI specification, e.g. CONFIG_GOOGLE_SMI. Add the necessary code so that it's only possible to use one implementation of EFI variable operations at runtime. This allows us to keep a single (file-scope)

[PATCH v2 2/6] efivars: Keep a private global pointer to efivars

2013-04-16 Thread Matt Fleming
From: Matt Fleming matt.flem...@intel.com Some machines have an EFI variable interface that does not conform to the UEFI specification, e.g. CONFIG_GOOGLE_SMI. Add the necessary code so that it's only possible to use one implementation of EFI variable operations at runtime. This allows us to keep