All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: jgarzik@logos.cnet
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] make libata for 2.4 compile on alpha
Date: Sun, 2 Jan 2005 07:33:25 -0200	[thread overview]
Message-ID: <20050102093325.GA29158@logos.cnet> (raw)
In-Reply-To: <200412270043.52692.stkn@gentoo.org>


Hi Jeff!

Got that one? 

On Mon, Dec 27, 2004 at 12:43:48AM +0100, Stefan Knoblich wrote:
> Hi,
> 
> linux-2.4.28 + 2.4.28-rc3-libata1 patch won't compile on alpha, attached patch 
> fixes that.
> 
> 
> Error messages:
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -O2
>  -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mno-fp-regs 
> -ffixed-8 -mcpu=ev5 -Wa,-mev6
>  -nostdinc -iwithprefix include -DKBUILD_BASENAME=libata_core  -DEXPORT_SYMTAB 
> -c libata-core.c
> In file included from /usr/src/linux-2.4.28/include/linux/highmem.h:5,
>                  from libata-core.c:31:
> /usr/src/linux-2.4.28/include/asm/pgalloc.h: In function `flush_tlb_other':
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:63: error: dereferencing pointer 
> to incomplete type
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:63: warning: implicit declaration 
> of function `smp_processor_id'
> /usr/src/linux-2.4.28/include/asm/pgalloc.h: In function 
> `flush_icache_user_range':
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:84: error: dereferencing pointer 
> to incomplete type
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:84: error: `VM_EXEC' undeclared 
> (first use in this function)
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:84: error: (Each undeclared 
> identifier is reported only once
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:84: error: for each function it 
> appears in.)
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:85: error: dereferencing pointer 
> to incomplete type
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:86: error: `current' undeclared 
> (first use in this function)
> /usr/src/linux-2.4.28/include/asm/pgalloc.h:89: error: dereferencing pointer 
> to incomplete type
> /usr/src/linux-2.4.28/include/asm/pgalloc.h: In function 
> `ev4_flush_tlb_current_page':
> <SNIP>

> --- linux-2.4.28/drivers/scsi/libata-core.c.orig	2004-12-26 22:19:31.389841557 +0100
> +++ linux-2.4.28/drivers/scsi/libata-core.c	2004-12-26 22:19:48.910349155 +0100
> @@ -28,6 +28,7 @@
>  #include <linux/pci.h>
>  #include <linux/init.h>
>  #include <linux/list.h>
> +#include <linux/mm.h>
>  #include <linux/highmem.h>
>  #include <linux/spinlock.h>
>  #include <linux/blkdev.h>




  reply	other threads:[~2005-01-02 12:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-26 23:43 [PATCH] make libata for 2.4 compile on alpha Stefan Knoblich
2005-01-02  9:33 ` Marcelo Tosatti [this message]
2005-01-03  6:53   ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050102093325.GA29158@logos.cnet \
    --to=marcelo.tosatti@cyclades.com \
    --cc=jgarzik@logos.cnet \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.