- 03 Apr, 2004 8 commits
-
-
Linus Torvalds authored
We default to "long" (which is what POSIX says), but since a number of architectures have used "int" for historical reasons, we need to allow overrides. At least sparc64 needs this. Possibly others, but so far architecture maintainers haven't spoken up. ppc64 and x86-64 are known to be ok with the default "long".
-
Richard Henderson authored
From Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
-
ssh://are/BK/axp-2.6Richard Henderson authored
into heffalump.twiddle.home:/home/rth/work/linux/axp-2.6
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
- 02 Apr, 2004 11 commits
-
-
Andrew Morton authored
From: Matt Porter <mporter@kernel.crashing.org> Patch fixes a latent bug in the PPC44x tlb management code.
-
Andrew Morton authored
From: Matt Porter <mporter@kernel.crashing.org> Make a couple 4xx defconfigs functional again.
-
Andrew Morton authored
From: Matt Porter <mporter@kernel.crashing.org> IDs new PPC44x silicon.
-
Andrew Morton authored
From: Matt Porter <mporter@kernel.crashing.org> Patch fixes the build for PPC40x platforms.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> When I was updating ppc/boot/simple/relocate.S to work on PPC_PREP systems, I in advertantly broke 4xx systems. On classic PPC, the first three instructions are nops, of which the first two can be overwritten. This is not true of 4xx (or 8xx, but that's not working right now anyhow). The following is needed to fix this.
-
Andrew Morton authored
The commoncap module calls this.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
- Use -march=armv6 where available. - CFLAGS_BOOT isn't needed - the decompressor uses CFLAGS, remove it. - PROCESSOR is never used, remove it. - LDFLAGS_BLOB is never used, remove it. - Remove MACHINE macro. - Correct comments for include/asm-arm/.arch target. - Copy format of include/asm symlink rule. - Arrange for configuration to be split before making include/asm-arm/arch symlink. - This means that asm-offsets.s no longer depends on include/config/MARKER.
-
Armin Schindler authored
diva_os_cancel_soft_isr() may not call tasklet_kill(), because it is interrupt context. This will be done correctly in the cleanup function anyway.
-
James Bottomley authored
The patch to check "maxcpus=N" early broke by putting maxcpus (a variable which is only exported by mpparse.c) into parse_cmdline_early(). The fix is to make it depend on the correct CONFIG_ option. In the subarchitectures: CONFIG_X86_SMP is the one that means "I want standard x86 smp code" and that's what this should depend on.
-
Benjamin Herrenschmidt authored
This patch from Christoph Hellwig does much welcomes cleanup of the old mac53c94 and mesh SCSI drivers, removing sillycaps etc...
-
- 01 Apr, 2004 21 commits
-
-
Russell King authored
-
Andrew Morton authored
From: Sam Ravnborg <sam@ravnborg.org> Fix this: Building modules, stage 2. MODPOST LANG := en_US.UTF-8 make: LANG: Command not found make: *** [all] Error 127 by removing the tab in front of the LANG assignment.
-
bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> This fixes a problem in sys_swapon that can cause the creation of invalid swap ptes. This has its cause in the arch-independent swap entries vs. the pte coded swap entries. The swp_entry_t uses 27 bits for the offset and 5 bits for the type. In sys_swapon this definition is used to find how many swap devices and how many pages on each device there can be. But the swap entries encoded in a pte can be subject to additional restrictions due to the hardware besides the 27/5 division of the bits in the swp_entry_t type. This is solved by adding pte_to_swp_entry and swp_entry_to_pte calls to the calculations for maximum type and offset. In addition the s390 swap pte division for offset/type is changed from 19/6 bits to 20/5 bits.
-
Andrew Morton authored
Two callsites, 48 bytes saved
-
Andrew Morton authored
Two callsites, 456 bytes saved
-
Andrew Morton authored
Four callsites, 104 bytes saved
-
Andrew Morton authored
Three callsites, 1104 bytes saved.
-
Andrew Morton authored
Seven callsites and an out-of-line copy is a bit excessive. 562 bytes saved.
-
Andrew Morton authored
Display number of slab, mapped and pagetable pages in the sysrq-M output.
-
Andrew Morton authored
If someone runs page_address() before page_address_init(), the kernel locks up over uninitialised spinlocks. This only happens with the 4:4 patch, but it is more robust to run page_address_init() before setup_arch(). page_address_init() simply initialises statically allocated storage.
-
Andrew Morton authored
From: Chris Mason <mason@suse.com> I think Andrew and I managed to mismerge the loop setup race fix. loop_set_fd is using get_capacity() to read the size of the disk and sending that to bd_set_size. But, it is doing this before calling set_capacity, so the size being used is wrong. This should clean things up.
-
Andrew Morton authored
From: David Mosberger <davidm@napali.hpl.hp.com> Below is a warmed up version of a patch originally done by Werner Almesberger (see http://tinyurl.com/25zra) to replace the MAX_MAP_COUNT limit with a sysctl variable. I thought this had gone into the tree a long time ago but alas it has not and as luck would have it, the hard limit bit someone today once again with a large app on a large machine. Here is a small test app:
-
Andrew Morton authored
Spotted by Andrea: we need the barriers in there to prevent reads passing ahead of the setting of current->state.
-
Andrew Morton authored
All architectures now make this `long', so we can remove the arch override.
-
Andrew Morton authored
From: Andy Whitcroft <apw@shadowen.org> Two problems: a) The memory overcommit code fails oto take into account all the pages which are pinned by being reserved for the hugetlbpage pool b) We're performing overcommit accounting and checking on behalf of hugetlbpage vmas. The main thrust is to ensure that VM_ACCOUNT actually only gets set on vma's which are indeed accountable. With that ensured much of the rest comes out in the wash. It also removes the hugetlb memory for the overcommit_memory=2 case.
-
Andrew Morton authored
From: Marcus Meissner <meissner@suse.de> After discussion on the glibc list the result was that=20 si_band is "long int" according to POSIX: http://www.opengroup.org/onlinepubs/007904975/basedefs/signal.h.html Ulrich Drepper refused a patch to fix glibc due to this reason: http://sources.redhat.com/ml/libc-alpha/2004-03/msg00254.html so here is the patch to fix it in the kernel. ppc64 and s390x were broken before and are fixed by this patch too.
-
Andrew Morton authored
From: David Gibson <david@gibson.dropbear.id.au> This patch adds a debugging message to the ppc64 hugepage code when we attempt to open the "low" (32-bit) hugepage window on PPC64, but can't because a (non-hugepage) mapping already exists in the region.
-
Andrew Morton authored
From: David Gibson <david@gibson.dropbear.id.au> On PowerPC64 the "low" hugepage range (at 2-3G for use by 32-bit processes) needs to be activated before it can be used. hugetlb_get_unmapped_area() automatically activates the range for hugepage mappings in 32-bit processes which are not MAP_FIXED. However for MAP_FIXED mmap()s, even at a suitable address will fail if the region is not already activated, because there is no suitable callback from the generic MAP_FIXED code path into the arch code. This patch corrects this problem and allows PPC64 to do MAP_FIXED hugepage mappings in the low hugepage range.
-
Andrew Morton authored
From: David Gibson <david@gibson.dropbear.id.au> Due to a misunderstanding of pmd_offset() the PPC64 hugepage code could end up looking at bogus pages as if they were PMD pages.
-