2004-10-22 08:07:32

by Alexander Rauth

[permalink] [raw]
Subject: [ALPHA 2.6.9] __ioremap gone in include/asm-alpha/io.h

In 2.6.9 __ioremap( ) is gone in include/asm-alpha/io.h resp. the
#define that linked alphas generic ioremap was deleted

Which brakes build on alpha.
Could we revert the cleanup that caused this????
Or complete it ????

Alex


2004-10-22 08:46:35

by alex

[permalink] [raw]
Subject: Re: [ALPHA 2.6.9] __ioremap gone in include/asm-alpha/io.h

Am Fr, den 22.10.2004 schrieb Alexander Rauth um 10:05:
> In 2.6.9 __ioremap( ) is gone in include/asm-alpha/io.h resp. the
> #define that linked alphas generic ioremap was deleted
>
> Which brakes build on alpha.
> Could we revert the cleanup that caused this????
> Or complete it ????
I forgot the compile log ...
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0xdbac): In function `fb_mmap':
include/asm/io.h:73: undefined reference to `__ioremap'
drivers/built-in.o(.text+0xdbbc):include/asm/io.h:73: undefined
reference to `__ioremap'
make: *** [.tmp_vmlinux1] Error 1

adding following line to include/asm-alpha/io.h fixed compile:

#define __ioremap(a,s) alpha_mv.mv_ioremap((unsigned long)(a),(s))


2004-10-22 08:56:41

by alex

[permalink] [raw]
Subject: Re: [ALPHA 2.6.9] __ioremap gone in include/asm-alpha/io.h

Am Fr, den 22.10.2004 schrieb [email protected] um 10:44:
> Am Fr, den 22.10.2004 schrieb Alexander Rauth um 10:05:
> > In 2.6.9 __ioremap( ) is gone in include/asm-alpha/io.h resp. the
> > #define that linked alphas generic ioremap was deleted
> >
>
> adding following line to include/asm-alpha/io.h fixed compile:
>
> #define __ioremap(a,s) alpha_mv.mv_ioremap((unsigned long)(a),(s))
>
fixed kernel did not boot at all. stuck after aboot