Browse Source

[IA64] Ski simulator doesn't need check_sal_cache_flush

Peter Chubb reported that commit 3463a93def55c309f3c0d0a8aaf216be3be42d64
(Update check_sal_cache_flush to use platform_send_ipi()) broke
Ski because it does not implement IPIs.

Tony Luck suggested we just #ifndef out the call (since the simulator
does not have the SAL bug that this code is attempting to detect and
workaround)

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Alex Chiang 16 years ago
parent
commit
06f95ea898
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/ia64/kernel/setup.c

+ 2 - 0
arch/ia64/kernel/setup.c

@@ -616,7 +616,9 @@ setup_arch (char **cmdline_p)
 		ia64_mca_init();
 		ia64_mca_init();
 
 
 	platform_setup(cmdline_p);
 	platform_setup(cmdline_p);
+#ifndef CONFIG_IA64_HP_SIM
 	check_sal_cache_flush();
 	check_sal_cache_flush();
+#endif
 	paging_init();
 	paging_init();
 }
 }