Re: 2.4.5 does not link on Ruffian (alpha)

Andrea Arcangeli
2001-05-27T16:41:51Z

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:

diff -urN 2.4.5/arch/alpha/kernel/sys_dp264.c fix/arch/alpha/kernel/sys_dp264.c
--- 2.4.5/arch/alpha/kernel/sys_dp264.c Sat May 26 04:03:35 2001
+++ fix/arch/alpha/kernel/sys_dp264.c Sun May 27 18:12:53 2001
@@ -16,18 +16,15 @@
#include <linux/pci.h>
#include <linux/init.h>

-#define __EXTERN_INLINE inline
-#include <asm/io.h>
-#include <asm/core_tsunami.h>
-#undef __EXTERN_INLINE
-
#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm/dma.h>
#include <asm/irq.h>
#include <asm/bitops.h>
#include <asm/mmu_context.h>
+#include <asm/io.h>
#include <asm/pgtable.h>
+#include <asm/core_tsunami.h>
#include <asm/hwrpb.h>

#include "proto.h"

Sorry about that.

Andrea