Commit 318f0763 authored by David Mosberger's avatar David Mosberger

ia64: Two small fixes to make ia64 build & work again.

parent 6f0a19c5
...@@ -372,6 +372,7 @@ setup_arch (char **cmdline_p) ...@@ -372,6 +372,7 @@ setup_arch (char **cmdline_p)
strlcpy(saved_command_line, *cmdline_p, sizeof(saved_command_line)); strlcpy(saved_command_line, *cmdline_p, sizeof(saved_command_line));
efi_init(); efi_init();
find_memory();
#ifdef CONFIG_ACPI_BOOT #ifdef CONFIG_ACPI_BOOT
/* Initialize the ACPI boot-time table parser */ /* Initialize the ACPI boot-time table parser */
...@@ -385,8 +386,6 @@ setup_arch (char **cmdline_p) ...@@ -385,8 +386,6 @@ setup_arch (char **cmdline_p)
# endif # endif
#endif /* CONFIG_APCI_BOOT */ #endif /* CONFIG_APCI_BOOT */
find_memory();
/* process SAL system table: */ /* process SAL system table: */
ia64_sal_init(efi.sal_systab); ia64_sal_init(efi.sal_systab);
......
...@@ -420,6 +420,7 @@ extern void __ia64_memset_c_io (unsigned long, unsigned long, long); ...@@ -420,6 +420,7 @@ extern void __ia64_memset_c_io (unsigned long, unsigned long, long);
* SPECweb-like workloads on zx1-based machines. Thus, for now we favor I/O MMU bypassing * SPECweb-like workloads on zx1-based machines. Thus, for now we favor I/O MMU bypassing
* over BIO-level virtual merging. * over BIO-level virtual merging.
*/ */
extern unsigned long ia64_max_iommu_merge_mask;
#if 1 #if 1
#define BIO_VMERGE_BOUNDARY 0 #define BIO_VMERGE_BOUNDARY 0
#else #else
...@@ -433,7 +434,6 @@ extern void __ia64_memset_c_io (unsigned long, unsigned long, long); ...@@ -433,7 +434,6 @@ extern void __ia64_memset_c_io (unsigned long, unsigned long, long);
* *
* which is precisely what we want. * which is precisely what we want.
*/ */
extern unsigned long ia64_max_iommu_merge_mask;
#define BIO_VMERGE_BOUNDARY (ia64_max_iommu_merge_mask + 1) #define BIO_VMERGE_BOUNDARY (ia64_max_iommu_merge_mask + 1)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment