Commit 866d26de authored by Richard Henderson's avatar Richard Henderson

[ALPHA] Turn off GENERIC_IOMAP. Arrange for iomap routines

to be linked unconditionally.
parent 169a1212
...@@ -34,7 +34,7 @@ config GENERIC_ISA_DMA ...@@ -34,7 +34,7 @@ config GENERIC_ISA_DMA
config GENERIC_IOMAP config GENERIC_IOMAP
bool bool
default y default n
source "init/Kconfig" source "init/Kconfig"
......
...@@ -8,7 +8,7 @@ EXTRA_CFLAGS := -Werror -Wno-sign-compare ...@@ -8,7 +8,7 @@ EXTRA_CFLAGS := -Werror -Wno-sign-compare
obj-y := entry.o traps.o process.o init_task.o osf_sys.o irq.o \ obj-y := entry.o traps.o process.o init_task.o osf_sys.o irq.o \
irq_alpha.o signal.o setup.o ptrace.o time.o semaphore.o \ irq_alpha.o signal.o setup.o ptrace.o time.o semaphore.o \
alpha_ksyms.o systbls.o err_common.o alpha_ksyms.o systbls.o err_common.o io.o
obj-$(CONFIG_VGA_HOSE) += console.o obj-$(CONFIG_VGA_HOSE) += console.o
obj-$(CONFIG_SMP) += smp.o obj-$(CONFIG_SMP) += smp.o
......
/* /*
* Alpha IO and memory functions.. Just expand the inlines in the header * Alpha IO and memory functions.
* files..
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -17,7 +17,6 @@ lib-y = __divqu.o __remqu.o __divlu.o __remlu.o \ ...@@ -17,7 +17,6 @@ lib-y = __divqu.o __remqu.o __divlu.o __remlu.o \
$(ev6-y)memset.o \ $(ev6-y)memset.o \
$(ev6-y)memcpy.o \ $(ev6-y)memcpy.o \
memmove.o \ memmove.o \
io.o \
checksum.o \ checksum.o \
csum_partial_copy.o \ csum_partial_copy.o \
$(ev67-y)strlen.o \ $(ev67-y)strlen.o \
......
...@@ -265,8 +265,9 @@ extern void __raw_writeq(u64 b, volatile void __iomem *addr); ...@@ -265,8 +265,9 @@ extern void __raw_writeq(u64 b, volatile void __iomem *addr);
* Mapping from port numbers to __iomem space is pretty easy. * Mapping from port numbers to __iomem space is pretty easy.
*/ */
/* These two have to be extern inline so that we don't get redefinition /* These two have to be extern inline because of the extern prototype from
errors building lib/iomap.c. Which we don't want anyway, but... */ <asm-generic/iomap.h>. It is not legal to mix "extern" and "static" for
the same declaration. */
extern inline void __iomem *ioport_map(unsigned long port, unsigned int size) extern inline void __iomem *ioport_map(unsigned long port, unsigned int size)
{ {
return IO_CONCAT(__IO_PREFIX,ioportmap) (port); return IO_CONCAT(__IO_PREFIX,ioportmap) (port);
......
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