summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Waychison <mikew@google.com>2011-03-12 01:43:11 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 15:40:50 (GMT)
commit4142ef146aee440731de956d9f9f3170d5a238ae (patch)
tree32bcb80883c10a7088806fda17bbf1730a4d781e /lib
parentd502fbb0dc4d4babe5fb330257fa49a83fbf86a6 (diff)
downloadlinux-fsl-qoriq-4142ef146aee440731de956d9f9f3170d5a238ae.tar.xz
efivars: parameterize efivars
Now that we all global variable state is encapsulated by struct efivars, parameterize all functions to the efivars local to the control flow rather than at file scope. We do this by removing the variable "efivars" at file scope and move its storage down to the end of the file. Variables get at efivars by storing the efivars pointer within each efivar_entry. The "new_var" and "del_var" binary attribute files get at the efivars through the private pointer. Signed-off-by: Mike Waychison <mikew@google.com> Cc: Matt Domsch <Matt_Domsch@dell.com>, Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions