2.5.63 : Fix Jensen compilation
PATCH 1/1 2.5.63 : Fix Jensen compilation
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
It used to run 2.5.61 just fine (with minor tricks...). Do you have any idea ?
Thanks,
M.
# 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 [email protected] 1.1091
# Help Jensen compile with -Werror.
# --------------------------------------------
#
arch/alpha/kernel/pci-noop.c +2 -1
@@ -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,
Signature · 2 lines
-- Places change, faces change. Life is so very strange.
Quoted 5 lines · Marc Zyngier
POSIX conformance testing by UNIFIX
Machine check?06 DBL MCHK
PC= 00000000.00014421 PSL= 00000000.00000007
Fixed in http://linux-axp.bkbits.net/axp-2.5/.
r~