Re: 2.4.5 does not link on Ruffian (alpha)

Andrea Arcangeli (andrea@suse.de)
Sun, 27 May 2001 21:22:56 +0200


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/