Re: 2.4.5 does not link on Ruffian (alpha)

Andrea Arcangeli
2001-05-27T19:23:37Z

On Sun, May 27, 2001 at 06:41:23PM +0200, Andrea Arcangeli wrote:
> On Sun, May 27, 2001 at 04:49:24AM +0200, Andrea Arcangeli wrote:
> > caused me to write the posted patch to get all compilations right.
>
> The reason I needed that patch is that I was not using 2.4.5aa1 but a
> corrupted tree (I'm been fooled by an hardlink during developement), it
> was just two lines away from the real one.
>
> So this is the fix for all 2.4.5 based trees (ac1 and aa1 included) to
> get generic and dp264 compililations right:

woops, the dp264 compilation wasn't right yet, this additional patch is
needed too.

--- 2.4.5aa2/arch/alpha/kernel/core_tsunami.c.~1~ Sat May 26 04:03:35 2001
+++ 2.4.5aa2/arch/alpha/kernel/core_tsunami.c Sun May 27 20:44:59 2001
@@ -11,7 +11,6 @@
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/init.h>
-#include <linux/bootmem.h>

#include <asm/ptrace.h>
#include <asm/system.h>
@@ -21,6 +20,8 @@
#include <asm/io.h>
#include <asm/core_tsunami.h>
#undef __EXTERN_INLINE
+
+#include <linux/bootmem.h>

#include "proto.h"
#include "pci_impl.h"

the bootmem include was the one that broke the __EXTERN_INLINE logic for
dp264.

Andrea