aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/hp/sim
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-08-15 14:11:45 -0400
committerSage Weil <sage@inktank.com>2013-08-15 14:11:45 -0400
commitee3e542fec6e69bc9fb668698889a37d93950ddf (patch)
treee74ee766a4764769ef1d3d45d266b4dea64101d3 /arch/ia64/hp/sim
parentfe2a801b50c0bb8039d627e5ae1fec249d10ff39 (diff)
parentf1d6e17f540af37bb1891480143669ba7636c4cf (diff)
Merge remote-tracking branch 'linus/master' into testing
Diffstat (limited to 'arch/ia64/hp/sim')
-rw-r--r--arch/ia64/hp/sim/boot/fw-emu.c20
-rw-r--r--arch/ia64/hp/sim/simeth.c2
-rw-r--r--arch/ia64/hp/sim/simscsi.c4
3 files changed, 13 insertions, 13 deletions
diff --git a/arch/ia64/hp/sim/boot/fw-emu.c b/arch/ia64/hp/sim/boot/fw-emu.c
index 271f412bda1a..87bf9ad8cf0f 100644
--- a/arch/ia64/hp/sim/boot/fw-emu.c
+++ b/arch/ia64/hp/sim/boot/fw-emu.c
@@ -290,16 +290,16 @@ sys_fw_init (const char *args, int arglen)
290 efi_runtime->hdr.signature = EFI_RUNTIME_SERVICES_SIGNATURE; 290 efi_runtime->hdr.signature = EFI_RUNTIME_SERVICES_SIGNATURE;
291 efi_runtime->hdr.revision = EFI_RUNTIME_SERVICES_REVISION; 291 efi_runtime->hdr.revision = EFI_RUNTIME_SERVICES_REVISION;
292 efi_runtime->hdr.headersize = sizeof(efi_runtime->hdr); 292 efi_runtime->hdr.headersize = sizeof(efi_runtime->hdr);
293 efi_runtime->get_time = __pa(&fw_efi_get_time); 293 efi_runtime->get_time = (void *)__pa(&fw_efi_get_time);
294 efi_runtime->set_time = __pa(&efi_unimplemented); 294 efi_runtime->set_time = (void *)__pa(&efi_unimplemented);
295 efi_runtime->get_wakeup_time = __pa(&efi_unimplemented); 295 efi_runtime->get_wakeup_time = (void *)__pa(&efi_unimplemented);
296 efi_runtime->set_wakeup_time = __pa(&efi_unimplemented); 296 efi_runtime->set_wakeup_time = (void *)__pa(&efi_unimplemented);
297 efi_runtime->set_virtual_address_map = __pa(&efi_unimplemented); 297 efi_runtime->set_virtual_address_map = (void *)__pa(&efi_unimplemented);
298 efi_runtime->get_variable = __pa(&efi_unimplemented); 298 efi_runtime->get_variable = (void *)__pa(&efi_unimplemented);
299 efi_runtime->get_next_variable = __pa(&efi_unimplemented); 299 efi_runtime->get_next_variable = (void *)__pa(&efi_unimplemented);
300 efi_runtime->set_variable = __pa(&efi_unimplemented); 300 efi_runtime->set_variable = (void *)__pa(&efi_unimplemented);
301 efi_runtime->get_next_high_mono_count = __pa(&efi_unimplemented); 301 efi_runtime->get_next_high_mono_count = (void *)__pa(&efi_unimplemented);
302 efi_runtime->reset_system = __pa(&efi_reset_system); 302 efi_runtime->reset_system = (void *)__pa(&efi_reset_system);
303 303
304 efi_tables->guid = SAL_SYSTEM_TABLE_GUID; 304 efi_tables->guid = SAL_SYSTEM_TABLE_GUID;
305 efi_tables->table = __pa(sal_systab); 305 efi_tables->table = __pa(sal_systab);
diff --git a/arch/ia64/hp/sim/simeth.c b/arch/ia64/hp/sim/simeth.c
index c13064e422df..d1b04c4c95e3 100644
--- a/arch/ia64/hp/sim/simeth.c
+++ b/arch/ia64/hp/sim/simeth.c
@@ -268,7 +268,7 @@ static __inline__ int dev_is_ethdev(struct net_device *dev)
268static int 268static int
269simeth_device_event(struct notifier_block *this,unsigned long event, void *ptr) 269simeth_device_event(struct notifier_block *this,unsigned long event, void *ptr)
270{ 270{
271 struct net_device *dev = ptr; 271 struct net_device *dev = netdev_notifier_info_to_dev(ptr);
272 struct simeth_local *local; 272 struct simeth_local *local;
273 struct in_device *in_dev; 273 struct in_device *in_dev;
274 struct in_ifaddr **ifap = NULL; 274 struct in_ifaddr **ifap = NULL;
diff --git a/arch/ia64/hp/sim/simscsi.c b/arch/ia64/hp/sim/simscsi.c
index 331de723c676..3a428f19a001 100644
--- a/arch/ia64/hp/sim/simscsi.c
+++ b/arch/ia64/hp/sim/simscsi.c
@@ -88,8 +88,8 @@ simscsi_setup (char *s)
88 if (strlen(s) > MAX_ROOT_LEN) { 88 if (strlen(s) > MAX_ROOT_LEN) {
89 printk(KERN_ERR "simscsi_setup: prefix too long---using default %s\n", 89 printk(KERN_ERR "simscsi_setup: prefix too long---using default %s\n",
90 simscsi_root); 90 simscsi_root);
91 } 91 } else
92 simscsi_root = s; 92 simscsi_root = s;
93 return 1; 93 return 1;
94} 94}
95 95