public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <mzyngier@freesurf.fr>
To: rth@twiddle.net, linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.63 : Fix Jensen compilation
Date: 27 Feb 2003 21:16:13 +0100	[thread overview]
Message-ID: <wrpbs0xh436.fsf@hina.wild-wind.fr.eu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

Hi Richard,

The following patch fixes a compilation problem on the Jensen (due to
the -Werror introduction).

BTW, the Jensen doesn't boot anymore :

Linux version 2.5.63 (maz@panther) (gcc version 3.2 (Debian)) #1 Thu Feb 27 21:3
Booting on Jensen using machine vector Jensen from SRM
Command line: ro root=/dev/sda1 console=ttyS0
memcluster 0, usage 1, start        0, end      256
memcluster 1, usage 0, start      256, end     8192
freeing pages 256:384
freeing pages 738:8192
reserving pages 738:739
Max ASN from HWRPB is bad (0xf)
On node 0 totalpages: 8192
  DMA zone: 2048 pages, LIFO batch:1
  Normal zone: 6144 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: ro root=/dev/sda1 console=ttyS0
opDEC fixup enabled.
PID hash table entries: 512 (order 9: 8192 bytes)
Using epoch = 2000
Console: colour VGA+ 80x25
Calibrating delay loop... 292.12 BogoMIPS
Memory: 59880k/65536k available (2012k kernel code, 3512k reserved, 163k data, )
Dentry cache hash table entries: 8192 (order: 4, 131072 bytes)
Inode-cache hash table entries: 4096 (order: 3, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 8192 bytes)
-> /dev
-> /dev/console
-> /root
POSIX conformance testing by UNIFIX
Machine check

?06 DBL MCHK
  PC= 00000000.00014421 PSL= 00000000.00000007

>>> 

It used to run 2.5.61 just fine (with minor tricks...). Do you have
any idea ?

Thanks,

        M.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: jensen.patch --]
[-- Type: text/x-patch, Size: 1380 bytes --]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1090  -> 1.1091 
#	arch/alpha/kernel/pci-noop.c	1.5     -> 1.6    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/02/27	maz@hina.wild-wind.fr.eu.org	1.1091
# Help Jensen compile with -Werror.
# --------------------------------------------
#
diff -Nru a/arch/alpha/kernel/pci-noop.c b/arch/alpha/kernel/pci-noop.c
--- a/arch/alpha/kernel/pci-noop.c	Thu Feb 27 21:09:40 2003
+++ b/arch/alpha/kernel/pci-noop.c	Thu Feb 27 21:09:40 2003
@@ -48,7 +48,6 @@
 sys_pciconfig_iobase(long which, unsigned long bus, unsigned long dfn)
 {
 	struct pci_controller *hose;
-	struct pci_dev *dev;
 
 	/* from hose or from bus.devfn */
 	if (which & IOBASE_FROM_HOSE) {
@@ -106,6 +105,7 @@
 void *
 pci_alloc_consistent(struct pci_dev *pdev, size_t size, dma_addr_t *dma_addrp)
 {
+	return NULL;
 }
 void
 pci_free_consistent(struct pci_dev *pdev, size_t size, void *cpu_addr,
@@ -116,6 +116,7 @@
 pci_map_single(struct pci_dev *pdev, void *cpu_addr, size_t size,
 	       int direction)
 {
+	return (dma_addr_t) 0;
 }
 void
 pci_unmap_single(struct pci_dev *pdev, dma_addr_t dma_addr, size_t size,

[-- Attachment #3: Type: text/plain, Size: 59 bytes --]


-- 
Places change, faces change. Life is so very strange.

             reply	other threads:[~2003-02-27 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 20:16 Marc Zyngier [this message]
2003-02-28  2:50 ` [PATCH] 2.5.63 : Fix Jensen compilation Richard Henderson

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=wrpbs0xh436.fsf@hina.wild-wind.fr.eu.org \
    --to=mzyngier@freesurf.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rth@twiddle.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox