summaryrefslogtreecommitdiff
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2011-06-06 23:36:24 +0400
committerH. Peter Anvin <hpa@linux.intel.com>2011-06-07 00:30:27 +0400
commitf7a2d73fe75c71941fb0a6b4d8fe7da8144f2c7b (patch)
tree120130e3d73c06b1bf84418be530daeb3a84f820 /include/linux/efi.h
parent59c5f46fbe01a00eedf54a23789634438bb80603 (diff)
downloadlinux-f7a2d73fe75c71941fb0a6b4d8fe7da8144f2c7b.tar.xz
x86, efi: Fix argument types for SetVariable()
The spec says this takes uint32 for attributes, not uintn. Signed-off-by: Matthew Garrett <mjg@redhat.com> Link: http://lkml.kernel.org/r/1307388985-7852-1-git-send-email-mjg@redhat.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r--include/linux/efi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h
index e376270cd26e..0758753a17a1 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -168,7 +168,7 @@ typedef efi_status_t efi_get_variable_t (efi_char16_t *name, efi_guid_t *vendor,
typedef efi_status_t efi_get_next_variable_t (unsigned long *name_size, efi_char16_t *name,
efi_guid_t *vendor);
typedef efi_status_t efi_set_variable_t (efi_char16_t *name, efi_guid_t *vendor,
- unsigned long attr, unsigned long data_size,
+ u32 attr, unsigned long data_size,
void *data);
typedef efi_status_t efi_get_next_high_mono_count_t (u32 *count);
typedef void efi_reset_system_t (int reset_type, efi_status_t status,