linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] make libata for 2.4 compile on alpha
@ 2004-12-26 23:43 Stefan Knoblich
  2005-01-02  9:33 ` Marcelo Tosatti
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Knoblich @ 2004-12-26 23:43 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1726 bytes --]

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>

[-- Attachment #1.2: libata-2.4.28-rc3-alpha.patch --]
[-- Type: text/x-diff, Size: 364 bytes --]

--- 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>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] make libata for 2.4 compile on alpha
  2004-12-26 23:43 [PATCH] make libata for 2.4 compile on alpha Stefan Knoblich
@ 2005-01-02  9:33 ` Marcelo Tosatti
  2005-01-03  6:53   ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Marcelo Tosatti @ 2005-01-02  9:33 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-kernel


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>




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] make libata for 2.4 compile on alpha
  2005-01-02  9:33 ` Marcelo Tosatti
@ 2005-01-03  6:53   ` Jeff Garzik
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2005-01-03  6:53 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel

Marcelo Tosatti wrote:
> Hi Jeff!
> 
> Got that one? 

yep, just need to push it to you.

	Jeff




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-03  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-26 23:43 [PATCH] make libata for 2.4 compile on alpha Stefan Knoblich
2005-01-02  9:33 ` Marcelo Tosatti
2005-01-03  6:53   ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).