From d7c5d14c728b241e2335fba95379bd8ff25e2f72 Mon Sep 17 00:00:00 2001 From: David Mosberger Date: Sun, 7 Apr 2002 23:23:55 -0700 Subject: [PATCH] Misc fixes. --- arch/ia64/hp/zx1/hpzx1_misc.c | 6 +++--- arch/ia64/kernel/efi.c | 2 +- arch/ia64/kernel/setup.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/ia64/hp/zx1/hpzx1_misc.c b/arch/ia64/hp/zx1/hpzx1_misc.c index 1389dbc63067..991f7b0dd24d 100644 --- a/arch/ia64/hp/zx1/hpzx1_misc.c +++ b/arch/ia64/hp/zx1/hpzx1_misc.c @@ -191,8 +191,8 @@ typedef struct { #define HP_CCSR_LENGTH 0x21 #define HP_CCSR_TYPE 0x2 -#define HP_CCSR_GUID \ - ((efi_guid_t) { 0x69e9adf9, 0x924f, 0xab5f, { 0xf6, 0x4a, 0x24, 0xd2, 0x01, 0x37, 0x0e, 0xad }}) +#define HP_CCSR_GUID EFI_GUID(0x69e9adf9, 0x924f, 0xab5f, \ + 0xf6, 0x4a, 0x24, 0xd2, 0x01, 0x37, 0x0e, 0xad) extern acpi_status acpi_get_crs(acpi_handle, acpi_buffer *); extern acpi_resource *acpi_get_crs_next(acpi_buffer *, int *); @@ -577,7 +577,7 @@ hpzx1_fake_pci_dev(unsigned long addr, unsigned int bus, unsigned int size) * Drivers should ioremap what they need, but we have to do * it here, too, so PCI config accesses work. */ - dev->mapped_csrs = ioremap(dev->csr_base, dev->csr_size); + dev->mapped_csrs = (unsigned long) ioremap(dev->csr_base, dev->csr_size); return dev; } diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 9f961ed9e455..5c7b4b193db4 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -250,7 +250,7 @@ efi_map_pal_code (void) * dedicated ITR for the PAL code. */ if ((vaddr & mask) == (KERNEL_START & mask)) { - printk(__FUNCTION__ ": no need to install ITR for PAL code\n"); + printk("%s: no need to install ITR for PAL code\n", __FUNCTION__); continue; } diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 8ea553a4b397..ea6021ae5514 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c @@ -334,7 +334,7 @@ setup_arch (char **cmdline_p) printk("No I/O port range found in EFI memory map, falling back to AR.KR0\n"); printk("I/O port base = 0x%lx\n", phys_iobase); } - ia64_iobase = ioremap(phys_iobase); + ia64_iobase = (unsigned long) ioremap(phys_iobase, 0); #ifdef CONFIG_SMP cpu_physical_id(0) = hard_smp_processor_id(); -- 2.39.5