Commit 1cd4a7f7 authored by David Mosberger's avatar David Mosberger

ia64: Misc fixups.

parent 6aa116b0
# # arch/ia64/hp/Makefile
# ia64/platform/hp/Makefile # Copyright (c) 2002 Matthew Wilcox for Hewlett Packard
#
# Copyright (C) 2002 Hewlett-Packard Co.
# David Mosberger-Tang <davidm@hpl.hp.com>
# Copyright (C) 1999 Silicon Graphics, Inc.
# Copyright (C) Srinivasa Thirumalachar (sprasad@engr.sgi.com)
#
all: hp.a ALL_SUB_DIRS := sim zx1 common
O_TARGET := hp.a O_TARGET := hp.o
obj-y := hpsim_console.o hpsim_irq.o hpsim_setup.o subdir-$(CONFIG_IA64_GENERIC) += $(ALL_SUB_DIRS)
obj-$(CONFIG_IA64_GENERIC) += hpsim_machvec.o subdir-$(CONFIG_IA64_HP_SIM) += sim
subdir-$(CONFIG_IA64_HP_ZX1) += zx1 common
obj-$(CONFIG_HP_SIMETH) += simeth.o SUB_DIRS := $(subdir-y)
obj-$(CONFIG_HP_SIMSERIAL) += simserial.o obj-y += $(join $(subdir-y),$(subdir-y:%=/%.o))
obj-$(CONFIG_HP_SIMSCSI) += simscsi.o
clean::
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -80,6 +80,8 @@ acpi_get_sysname (void) ...@@ -80,6 +80,8 @@ acpi_get_sysname (void)
#endif #endif
} }
#ifdef CONFIG_ACPI_BOOT
#define ACPI_MAX_PLATFORM_IRQS 256 #define ACPI_MAX_PLATFORM_IRQS 256
/* Array to record platform interrupt vectors for generic interrupt routing. */ /* Array to record platform interrupt vectors for generic interrupt routing. */
...@@ -592,3 +594,5 @@ acpi_get_interrupt_model (int *type) ...@@ -592,3 +594,5 @@ acpi_get_interrupt_model (int *type)
return 0; return 0;
} }
#endif /* CONFIG_ACPI_BOOT */
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
* unnecessary i-cache flushing. * unnecessary i-cache flushing.
*/ */
#include <linux/cache.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/pci.h> #include <linux/pci.h>
...@@ -24,9 +25,6 @@ ...@@ -24,9 +25,6 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/bootmem.h> #include <linux/bootmem.h>
#define ALIGN(val, align) ((unsigned long) \
(((unsigned long) (val) + ((align) - 1)) & ~((align) - 1)))
#define OFFSET(val,align) ((unsigned long) \ #define OFFSET(val,align) ((unsigned long) \
( (val) & ( (align) - 1))) ( (val) & ( (align) - 1)))
......
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