Add some casts to avoid warnings from efi_runtime_services_t members.

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.12 (GNU/Linux)
 
 iQIcBAABAgAGBQJR2vtwAAoJEKurIx+X31iBk5kP/0ulq3GQQOUwj4iSHqPTgbrR
 WgzqnPpqpBaW5nqu6f9WHwSqNicRixrlZ7aDlVeKiQJzznTnR4nDbP1tkjDPZj+q
 cag14CsFG2U73Q/sjy2dwCIZFP3uhP1plmBhxwT2BQ8I4x+w7+HMM9FH6v56nD2v
 fHRUcwdvly/V82MqsHLU1HSsG9j9rfher2SfyCTUMO9iwDDDFUF99HhaRFsdhiQS
 IYxRdWSMNc8fB6sKUPadi/M0IEQ/e5CaIKB/JFxoqAucxEfWFP8y0+H1xa4pDqEN
 7NuIv9qWIxwM+5uaOm9SNQwq+bav3GGWrojjo1UzyJhajLG2qVGO9Dx38ipttl5w
 Bco1R+Gq8Oz2zw5/TxW0lAdfhPlBFbgFor008XxakxBtV4TXVE3wp68ndy3PTepj
 MNwktdt+ODOQrXRbmkQAcGOJ0a30WvK99/dinTIDQkJ4im8iLaCG/AQOFk/E2sz0
 v+boH4+1qyEGcgNyb6Wr51bY60yD9MCpmT5Voed5w5Q3OrynVGJjgChvqVfGq0DD
 Xz2Wixqg4/6KOWoSs9hp3lhwv7wYqProEc6BEX6iBqAUWoOOlWI7mTWQ9Fnktl5J
 DQaMOofiro85bhINt9x28nvPxllwIqizez43UXIArzvajTEquo2QI/87/iBOBleP
 df9UIjHyA7gvJ6jn0lp4
 =Yva5
 -----END PGP SIGNATURE-----

Merge tag 'please-pull-fix-ia64-warnings' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux

P{ill ia64 warning fix from Tony Luck:
 "Add some casts to avoid warnings from efi_runtime_services_t members"

* tag 'please-pull-fix-ia64-warnings' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
  [IA64] sim: Add casts to avoid assignment warnings
This commit is contained in:
Linus Torvalds 2013-07-10 10:09:04 -07:00
commit 61e312914c
1 changed files with 10 additions and 10 deletions

View File

@ -290,16 +290,16 @@ sys_fw_init (const char *args, int arglen)
efi_runtime->hdr.signature = EFI_RUNTIME_SERVICES_SIGNATURE;
efi_runtime->hdr.revision = EFI_RUNTIME_SERVICES_REVISION;
efi_runtime->hdr.headersize = sizeof(efi_runtime->hdr);
efi_runtime->get_time = __pa(&fw_efi_get_time);
efi_runtime->set_time = __pa(&efi_unimplemented);
efi_runtime->get_wakeup_time = __pa(&efi_unimplemented);
efi_runtime->set_wakeup_time = __pa(&efi_unimplemented);
efi_runtime->set_virtual_address_map = __pa(&efi_unimplemented);
efi_runtime->get_variable = __pa(&efi_unimplemented);
efi_runtime->get_next_variable = __pa(&efi_unimplemented);
efi_runtime->set_variable = __pa(&efi_unimplemented);
efi_runtime->get_next_high_mono_count = __pa(&efi_unimplemented);
efi_runtime->reset_system = __pa(&efi_reset_system);
efi_runtime->get_time = (void *)__pa(&fw_efi_get_time);
efi_runtime->set_time = (void *)__pa(&efi_unimplemented);
efi_runtime->get_wakeup_time = (void *)__pa(&efi_unimplemented);
efi_runtime->set_wakeup_time = (void *)__pa(&efi_unimplemented);
efi_runtime->set_virtual_address_map = (void *)__pa(&efi_unimplemented);
efi_runtime->get_variable = (void *)__pa(&efi_unimplemented);
efi_runtime->get_next_variable = (void *)__pa(&efi_unimplemented);
efi_runtime->set_variable = (void *)__pa(&efi_unimplemented);
efi_runtime->get_next_high_mono_count = (void *)__pa(&efi_unimplemented);
efi_runtime->reset_system = (void *)__pa(&efi_reset_system);
efi_tables->guid = SAL_SYSTEM_TABLE_GUID;
efi_tables->table = __pa(sal_systab);