where do I find 2.5 series kernel for ppc64
Anton Blanchard
anton at samba.org
Sat Nov 16 04:27:18 EST 2002
Hi,
> Where from I get latest 2.5 series linux kernel patch for ppc64?
You can get the latest 2.5 tree via bitkeeper from
bk://ppc.bkbits.net/for-linus-ppc64
I regularly get Linus to update from there, so his tree sometimes
builds. However in the last few days a number of big changes (eg Rusty's
in kernel module linker) went into Linus' tree so its unlikely to compile.
I should have fixes for that in the next day or so.
There are a significant number of bugs in older toolchains. You will
need a recent toolchain, best bet is to grab cvs version of binutils and
the cvs 3.1 branch of gcc. Apply Alan Modra's latest gcc patch available
on ftp://ftp.linuxppc64.org/pub/people/amodra/gcc-3.2/
Apply the patch below to the kernel source tree. I still havent got
these bits merged into Linus' tree.
Anton
===== drivers/pci/probe.c 1.15 vs edited =====
--- 1.15/drivers/pci/probe.c Sat Oct 5 11:06:13 2002
+++ edited/drivers/pci/probe.c Sat Oct 5 11:47:03 2002
@@ -152,7 +152,7 @@
limit |= (io_limit_hi << 16);
}
- if (base && base <= limit) {
+ if (base <= limit) {
res->flags = (io_base_lo & PCI_IO_RANGE_TYPE_MASK) | IORESOURCE_IO;
res->start = base;
res->end = limit + 0xfff;
===== include/linux/compiler.h 1.6 vs edited =====
--- 1.6/include/linux/compiler.h Sun Sep 1 12:52:31 2002
+++ edited/include/linux/compiler.h Thu Sep 19 17:40:30 2002
@@ -17,6 +17,6 @@
shouldn't recognize the original var, and make assumptions about it */
#define RELOC_HIDE(ptr, off) \
({ unsigned long __ptr; \
- __asm__ ("" : "=g"(__ptr) : "0"(ptr)); \
+ __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
(typeof(ptr)) (__ptr + (off)); })
#endif /* __LINUX_COMPILER_H */
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list