]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[irda] LAP close race
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:50 +0000 (13:08 -0400)]
[irda] LAP close race

o [CRITICA] Fix a race condition when closing the LAP
prevent the stack to open new LSAPs while we are killing them.

22 years ago[irda] irtty cleanup
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:43 +0000 (13:08 -0400)]
[irda] irtty cleanup

o [FEATURE] Finish removing traces of old irtty driver

22 years ago[irda] NSC 3839x probe fixes
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:37 +0000 (13:08 -0400)]
[irda] NSC 3839x probe fixes

<Patch from Jan Frey>
o [CORRECT] Make NSC 3839x probe and init *really* work
The new 3839x code was totally broken.
Won't affect code for regular 38108/38338 chips.

22 years ago[irda] IrCOMM mod refcount
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:30 +0000 (13:08 -0400)]
[irda] IrCOMM mod refcount

o [FEATURE] Finish removing traces of old module refcount stuff

22 years agoMerge bk://kernel.bkbits.net//home/mochel/linux-2.5-core
Patrick Mochel [Fri, 5 Sep 2003 08:46:20 +0000 (01:46 -0700)]
Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-core
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years ago[sysfs/kobject] Update documentation.
Patrick Mochel [Fri, 5 Sep 2003 08:31:35 +0000 (01:31 -0700)]
[sysfs/kobject] Update documentation.

From Randy Dunlap.

22 years ago[driver model] Add exports for sys devices.
Patrick Mochel [Fri, 5 Sep 2003 08:28:49 +0000 (01:28 -0700)]
[driver model] Add exports for sys devices.

From Dominik Brodowski:

A few missing exports -- even though the cpu_sysdev_class isn't strictly
needed now, I need it for a few ACPI-related patches I'll send out in a
minute.

22 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Fri, 5 Sep 2003 07:17:55 +0000 (00:17 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Patrick Mochel [Fri, 5 Sep 2003 07:06:46 +0000 (00:06 -0700)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/mochel/linux-2.5-core

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Fri, 5 Sep 2003 05:50:48 +0000 (22:50 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[AGPGART] Fix up missing brackets on defines.
Dave Jones [Fri, 5 Sep 2003 21:47:15 +0000 (22:47 +0100)]
[AGPGART] Fix up missing brackets on defines.

22 years ago[AGPGART] Remove unneeded string from AMD64 GART driver.
Dave Jones [Fri, 5 Sep 2003 16:46:42 +0000 (17:46 +0100)]
[AGPGART] Remove unneeded string from AMD64 GART driver.

22 years ago[PATCH] New version of jfsutils needed
Dave Kleikamp [Fri, 5 Sep 2003 05:38:49 +0000 (22:38 -0700)]
[PATCH] New version of jfsutils needed

A recent change to the 2.6.0 kernel has changed the behavior of opening a
block device with the O_EXCL flag.  This can cause fsck.jfs to fail to
replay the journal when a file system is mounted read-only.

The JFS utilities have been fixed, and it is recommended that any users of
JFS update the utilities to version 1.1.3.

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Fri, 5 Sep 2003 05:17:30 +0000 (22:17 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Fri, 5 Sep 2003 05:15:37 +0000 (22:15 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[CPUFREQ] Print out CPU name in debug info.
Dave Jones [Fri, 5 Sep 2003 16:38:20 +0000 (17:38 +0100)]
[CPUFREQ] Print out CPU name in debug info.
Add template for Nehemiah.

22 years ago[CPUFREQ] Print out FSB in longhaul debug info
Dave Jones [Fri, 5 Sep 2003 16:19:00 +0000 (17:19 +0100)]
[CPUFREQ] Print out FSB in longhaul debug info

22 years agoFix mprotect() to do proper PROT_xxx -> VM_xxx translation.
Linus Torvalds [Fri, 5 Sep 2003 05:05:07 +0000 (22:05 -0700)]
Fix mprotect() to do proper PROT_xxx -> VM_xxx translation.

This also fixes the bug with MAP_SEM being potentially
interpreted as VM_SHARED.

22 years ago[PATCH] Common PROT_xxx -> VM_xxx mapping
Jamie Lokier [Fri, 5 Sep 2003 04:42:15 +0000 (21:42 -0700)]
[PATCH] Common PROT_xxx -> VM_xxx mapping

This moves the mapping of PROT_* bits to VM_* bits from mmap.c to the
common header file <linux/mman.h>.  The mapping is needed for mprotect
too.

22 years ago[PATCH] large dev_t - second series (15/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:21 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (15/15)

old_decode_dev()/old_encode_dev() added where needed in other
filesystems.  Parts in different filesystems are independent, but IMO
it's not worse splitting into a dozen of half-kilobyte patches.

22 years ago[PATCH] large dev_t - second series (14/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:10 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (14/15)

nfs_fattr->rdev switched to dev_t; code that unpacks on-the-wire
attributes does explicit conversion now.

22 years ago[PATCH] large dev_t - second series (13/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:01 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (13/15)

HPFS code that uses EAs for storing i_rdev/i_mode/i_uid/i_gid
sanitized.

22 years ago[PATCH] large dev_t - second series (12/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:53 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (12/15)

Similar fix for UFS; touching device node (and they have 32bit
dev_t) ends up killing upper 16 bits, which makes for very unhappy
*BSD, since that turns /dev/ad0s1 into alias of /dev/ad0.  Again, for
now we store on-disk value in private part of inode and use it instead
of ->i_rdev in ->write_inode().

22 years ago[PATCH] large dev_t - second series (11/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:44 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (11/15)

Fix for JFS handling of device nodes; it has 32bit on-disk device
numbers, shoves them into 16bit (->i_rdev) when inode is read and writes
them back truncated when inode is written to disk.  For now (and 2.4 will
have to do the same permanently) we store the original value in private
part of inode and use it instead of ->i_rdev in ->write_inode(); mknod()
sets it at the same time as ->i_rdev.  It will become unnecessary when
dev_t becomes wider than 16 bits, but for now we need it.

22 years ago[PATCH] large dev_t - second series (10/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:36 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (10/15)

Fix for endianness bug in UDF: it writes major and minor as 32bit
host-endian and reads them as 32bit little-endian; obviously a bad idea
on big-endian boxen ;-)  Needed both for 2.4 and 2.6.

22 years ago[PATCH] large dev_t - second series (9/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:27 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (9/15)

beginning of fs side work:
* new helpers - old_valid_dev(), old_encode_dev() and old_decode_dev()
* old_valid_dev() checks if dev_t value is OK for old filesystems
(i.e. both major and minor are below 256).
* old_valid_dev() calls are added in ->mknod() instances that care
about dev_t values (disk-backed and network ones).
* old_encode_dev() and old_decode_dev() convert dev_t -> u16
and u16 -> dev_t resp; currently these are no-ops, places that use current
formar (minor in bits 0--7, major in bits 8--15) will switch to these before
we widen dev_t.

22 years ago[PATCH] large dev_t - second series (8/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:18 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (8/15)

kdev_t, to_kdev_t(), etc. are gone - there is no more objects
of that type and no remaining callers of these functions.

22 years ago[PATCH] large dev_t - second series (7/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:08 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (7/15)

the last kdev_t object is gone; ->i_rdev switched to dev_t.

22 years ago[PATCH] large dev_t - second series (6/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:56 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (6/15)

tty redirect handling sanitized.  Such ttys (/dev/tty and
/dev/console) get a different file_operations; its ->write() handles
redirects; checks for file->f_op == &tty_fops updated, checks for
major:minor being that of a redirector replaced with check for
->f_op->write value.  Piece of code in tty_io.c that had been #if 0
since 0.99<something> had been finally put out of its misery. kdev_val()
is gone.

22 years ago[PATCH] large dev_t - second series (5/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:47 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (5/15)

cdevname() killed, there was only one remaining user
(tty_paranoia_check()) and in that case cdevname() was worse
than plain major:minor (basically, it's "you've got corrupted
inode that was supposed to belong to tty device; here's what
I'd found in ->i_rdev")

22 years ago[PATCH] large dev_t - second series (4/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:38 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (4/15)

cciss cleanup - instead of playing with device numbers, we add
helper functions that get host and drive structures by gendisk and use
them in open/ioctl/release, same as had been done for cpqarray.

22 years ago[PATCH] large dev_t - second series (3/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:29 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (3/15)

paride/pt.c cleanups - passing pointer to pt_unit instead of index
in array; same as had been done for pd/pcd/pf.

22 years ago[PATCH] large dev_t - second series (2/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:20 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (2/15)

floppy98 ->probe() forgot to set *part to 0; fixed.

22 years ago[PATCH] large dev_t - second series (1/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:11 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (1/15)

misc trivial cleanups

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 5 Sep 2003 02:46:08 +0000 (19:46 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ARM] Kill snprintf formatting warning.
Russell King [Fri, 5 Sep 2003 18:14:26 +0000 (19:14 +0100)]
[ARM] Kill snprintf formatting warning.

22 years ago[ARM] Don't sleep in cpufreq code if IRQs are disabled (during resume.)
Russell King [Fri, 5 Sep 2003 18:10:57 +0000 (19:10 +0100)]
[ARM] Don't sleep in cpufreq code if IRQs are disabled (during resume.)

22 years ago[ARM] Fix PXA and SA1100 suspend/resume
Russell King [Fri, 5 Sep 2003 18:04:35 +0000 (19:04 +0100)]
[ARM] Fix PXA and SA1100 suspend/resume

- Don't write the current time back to the RTC on suspend - we may
  jump over a programmed wakeup alarm.
- Restore SA1100 GPIO output state

22 years ago[ARM] Fix ARM suspend-to-RAM.
Russell King [Fri, 5 Sep 2003 17:42:14 +0000 (18:42 +0100)]
[ARM] Fix ARM suspend-to-RAM.

- Suspend and resume system devices.
- If device suspend fails, don't suspend.

22 years ago[ARM] Don't read the CPU control reg back - it may be write only.
Russell King [Fri, 5 Sep 2003 17:36:50 +0000 (18:36 +0100)]
[ARM] Don't read the CPU control reg back - it may be write only.

Some ARM CPUs don't allow CP15 CR1 control register to be read.
Therefore, to ensure that the value hits the control register on
Xscale, read back the CP15 CR0 ID register instead.

22 years ago[ARM] Restore preempt count before reporting unbalanced preempt count
Russell King [Fri, 5 Sep 2003 17:28:53 +0000 (18:28 +0100)]
[ARM] Restore preempt count before reporting unbalanced preempt count

On ARM, we oops when we detect that an interrupt handler has unbalanced
the preempt count.  We should restore the preempt count when we started
to handle the interrupt and then cause the oops.

22 years ago[ARM] Newer binutils want -mcpu=xscale not -mxscale
Russell King [Fri, 5 Sep 2003 17:18:14 +0000 (18:18 +0100)]
[ARM] Newer binutils want -mcpu=xscale not -mxscale

22 years ago[ARM] Fix wrong cache flush call for ARM1020 CPUs
Russell King [Fri, 5 Sep 2003 12:18:02 +0000 (13:18 +0100)]
[ARM] Fix wrong cache flush call for ARM1020 CPUs

22 years ago[ARM] arch/arm/kernel/setup.c needs to include asm/cacheflush.h
Russell King [Fri, 5 Sep 2003 12:06:36 +0000 (13:06 +0100)]
[ARM] arch/arm/kernel/setup.c needs to include asm/cacheflush.h

22 years ago[PATCH] 2.6.0-test4 synclink_cs.c
Paul Fulghum [Fri, 5 Sep 2003 01:45:29 +0000 (18:45 -0700)]
[PATCH] 2.6.0-test4 synclink_cs.c

* replace previously removed NULL context check
  (causes oops when opening non existent device)

22 years ago[PATCH] 2.6.0-test4 synclinkmp.c
Paul Fulghum [Fri, 5 Sep 2003 01:45:21 +0000 (18:45 -0700)]
[PATCH] 2.6.0-test4 synclinkmp.c

* replace previously removed NULL context check
  (causes oops when opening non existent device)

22 years ago[PATCH] 2.6.0-test4 synclink.c
Paul Fulghum [Fri, 5 Sep 2003 01:45:12 +0000 (18:45 -0700)]
[PATCH] 2.6.0-test4 synclink.c

* add RCC underrun handling
* fix stats output typo
* replace previously removed NULL context check
  (causes oops when opening non existent device)

22 years ago[PATCH] incomplete asm constraints in arch/i386/pci/pcbios.c
Arjan van de Ven [Fri, 5 Sep 2003 01:28:38 +0000 (18:28 -0700)]
[PATCH] incomplete asm constraints in arch/i386/pci/pcbios.c

This fixes a "miscompile" HP reported against gcc 3.3 with
-march-pentium4.  It turned out to be a non-complete asm contraint.  the
existing constraint on "opt" was on the address of "opt", which allowed
gcc to reorder the setting of the fields inside opt to beyond the asm
that uses it, which is less than useful at best.

22 years ago[PATCH] Unpinned futexes v2: indexing changes
Jamie Lokier [Fri, 5 Sep 2003 01:00:45 +0000 (18:00 -0700)]
[PATCH] Unpinned futexes v2: indexing changes

This changes the way futexes are indexed, so that they don't pin pages.
It also fixes some bugs with private mappings and COW pages.

Currently, all futexes look up the page at the userspace address and pin
it, using the pair (page,offset) as an index into a table of waiting
futexes.  Any page with a futex waiting on it remains pinned in RAM,
which is a problem when many futexes are used, especially with FUTEX_FD.

Another problem is that the page is not always the correct one, if it
can be changed later by a COW (copy on write) operation.  This can
happen when waiting on a futex without writing to it after fork(),
exec() or mmap(), if the page is then written to before attempting to
wake a futex at the same adress.

There are two symptoms of the COW problem:
 - The wrong process can receive wakeups
 - A process can fail to receive required wakeups.

This patch fixes both by changing the indexing so that VM_SHARED
mappings use the triple (inode,offset,index), and private mappings use
the pair (mm,virtual_address).

The former correctly handles all shared mappings, including tmpfs and
therefore all kinds of shared memory (IPC shm, /dev/shm and
MAP_ANON|MAP_SHARED).  This works because every mapping which is
VM_SHARED has an associated non-zero vma->vm_file, and hence inode.
(This is ensured in do_mmap_pgoff, where it calls shmem_zero_setup).

The latter handles all private mappings, both files and anonymous.  It
isn't affected by COW, because it doesn't care about the actual pages,
just the virtual address.

The patch has a few bonuses:

        1. It removes the vcache implementation, as only futexes were
           using it, and they don't any more.

        2. Removing the vcache should make COW page faults a bit faster.

        3. Futex operations no longer take the page table lock, walk
           the page table, fault in pages that aren't mapped in the
           page table, or do a vcache hash lookup - they are mostly a
           simple offset calculation with one hash for the futex
           table.  So they should be noticably faster.

Special thanks to Hugh Dickins, Andrew Morton and Rusty Russell for
insightful feedback.  All suggestions are included.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Fri, 5 Sep 2003 00:34:06 +0000 (17:34 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] ide: fix ide_cs oops with TCQ
Bartlomiej Zolnierkiewicz [Fri, 5 Sep 2003 00:15:37 +0000 (17:15 -0700)]
[PATCH] ide: fix ide_cs oops with TCQ

From Matias Alejo Garcia <kernel@matiu.com.ar>.

22 years ago[PATCH] Move MODULE_ALIAS_LDISC to tty_ldisc.h
Russell King [Fri, 5 Sep 2003 00:15:28 +0000 (17:15 -0700)]
[PATCH] Move MODULE_ALIAS_LDISC to tty_ldisc.h

MODULE_ALIAS_LDISC() is not in any way architecture-specific, so don't
put it in architecture header files.

Here's a patch which moves it to a more sensible location.

22 years ago[PATCH] fix IO hangs
Jens Axboe [Fri, 5 Sep 2003 00:13:17 +0000 (17:13 -0700)]
[PATCH] fix IO hangs

The "insert_here" list pointer logic was broken, and unnecessary.

Kill it and its associated logic off completely - just tell the IO
scheduler what kind of insert it is.

This also makes the *_insert_request strategies much easier to follow,
imo.

22 years ago[NET]: Kill more verbose init msgs and unused RTNL_DEBUG define.
David S. Miller [Thu, 4 Sep 2003 20:40:24 +0000 (13:40 -0700)]
[NET]: Kill more verbose init msgs and unused RTNL_DEBUG define.

22 years ago[NET]: Print a KERN_INFO msg when protocol families are {un,}registered.
David S. Miller [Thu, 4 Sep 2003 20:35:02 +0000 (13:35 -0700)]
[NET]: Print a KERN_INFO msg when protocol families are {un,}registered.

22 years ago[NET]: Remove all the silly 'NET4.x' init messages.
David S. Miller [Thu, 4 Sep 2003 20:19:32 +0000 (13:19 -0700)]
[NET]: Remove all the silly 'NET4.x' init messages.

22 years ago[ATM]: Remove bogus UNUSED macro usage in pppoatm.c
John Levon [Thu, 4 Sep 2003 20:02:57 +0000 (13:02 -0700)]
[ATM]: Remove bogus UNUSED macro usage in pppoatm.c

22 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5
David S. Miller [Thu, 4 Sep 2003 19:56:30 +0000 (12:56 -0700)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years ago[NET]: More SDLS fixes.
Stephen Hemminger [Thu, 4 Sep 2003 19:52:58 +0000 (12:52 -0700)]
[NET]: More SDLS fixes.

Since sdla.c now has locking instead of cli/sti, it shouldn't be
completely busted on SMP.

Also, the frad interface registration needed to be done once
(and check the result), and undone on module unload.

22 years ago[NET]: Do not ifdef declarations in Space.c
David S. Miller [Thu, 4 Sep 2003 19:52:21 +0000 (12:52 -0700)]
[NET]: Do not ifdef declarations in Space.c

22 years ago[NET]: COSA driver fixes.
Stephen Hemminger [Thu, 4 Sep 2003 19:50:17 +0000 (12:50 -0700)]
[NET]: COSA driver fixes.

* get rid of leftover sti
* no longer need MOD_INC/DEC stuff
* get rid of dead code related to MOD_INC/DEC
* use module_init/module_exit to cleanly run init code

22 years ago[ATM]: reduce CONFIG_PROC_FS #ifdef clutter in .c code (from levon@movementarian...
Chas Williams [Thu, 4 Sep 2003 19:41:05 +0000 (12:41 -0700)]
[ATM]: reduce CONFIG_PROC_FS #ifdef clutter in .c code (from levon@movementarian.org)

22 years ago[ATM]: fix atm_dev module refcount bug (from levon@movementarian.org)
Chas Williams [Thu, 4 Sep 2003 19:40:36 +0000 (12:40 -0700)]
[ATM]: fix atm_dev module refcount bug (from levon@movementarian.org)

22 years ago[ATM]: pvc/svc missing .owner for proto_ops/family (from levon@movementarian.org)
Chas Williams [Thu, 4 Sep 2003 19:39:02 +0000 (12:39 -0700)]
[ATM]: pvc/svc missing .owner for proto_ops/family (from levon@movementarian.org)

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Thu, 4 Sep 2003 16:06:15 +0000 (09:06 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years ago[CRYPTO]: Use try_then_request_module().
Rusty Russell [Thu, 4 Sep 2003 16:02:39 +0000 (09:02 -0700)]
[CRYPTO]: Use try_then_request_module().

try_then_request_module() does what crypto/autoload.c is doing, so
replace it.  Fix try_then_request_module(), too (thanks James).

22 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Thu, 4 Sep 2003 09:47:54 +0000 (02:47 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years ago[PATCH] Fix /proc/stat off-by-one
Andrew Morton [Thu, 4 Sep 2003 07:55:30 +0000 (00:55 -0700)]
[PATCH] Fix /proc/stat off-by-one

I should have stayed in bed.

22 years ago[SCTP] Move a local variable declaration ahead of the function code.
Sridhar Samudrala [Thu, 4 Sep 2003 05:36:38 +0000 (22:36 -0700)]
[SCTP] Move a local variable declaration ahead of the function code.

Apparently the new gcc 3.2.2 allows local variable declarations within
the code of a function if it is not used earlier. But older gcc's do
not allow this.

22 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Thu, 4 Sep 2003 05:34:50 +0000 (22:34 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years ago[NET]: Convert /proc/net/unix to seq_file.
Stephen Hemminger [Thu, 4 Sep 2003 05:03:29 +0000 (22:03 -0700)]
[NET]: Convert /proc/net/unix to seq_file.

22 years ago[CPUFREQ] Move longhaul scale/ratio tables to longhaul header file
Dave Jones [Thu, 4 Sep 2003 04:23:06 +0000 (05:23 +0100)]
[CPUFREQ] Move longhaul scale/ratio tables to longhaul header file

22 years ago[ATM]: Convert the /proc/net/atm/br2684 to seq_file interface (from shemminger@osdl...
Chas Williams [Thu, 4 Sep 2003 04:08:15 +0000 (21:08 -0700)]
[ATM]: Convert the /proc/net/atm/br2684 to seq_file interface (from shemminger@osdl.org)

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Thu, 4 Sep 2003 04:03:08 +0000 (21:03 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years ago[CPUFREQ] Remove the voltage scaling from longhaul driver.
Dave Jones [Thu, 4 Sep 2003 04:02:49 +0000 (05:02 +0100)]
[CPUFREQ] Remove the voltage scaling from longhaul driver.
The 'match voltage to frequency' routine is complete crap and needs
rewriting. (It also only works for a single stepping of C3)
I'll redo it when I find the specs again.
In the meantime, it doesn't work properly, so kill it.

22 years ago[PATCH] ikconfig - cleanups
Stephen Hemminger [Thu, 4 Sep 2003 04:01:38 +0000 (21:01 -0700)]
[PATCH] ikconfig - cleanups

Cleanup ikconfig
- use single_open for built_with file.
- get rid of unneeded globals
- use copy_to_user instead of char at a time
- only need the read routine, proc defaults to correct behaviour
  for the rest.

22 years ago[CPUFREQ] Inform user of status of Ezra-T/Nehemiah longhaul support.
Dave Jones [Thu, 4 Sep 2003 03:51:33 +0000 (04:51 +0100)]
[CPUFREQ] Inform user of status of Ezra-T/Nehemiah longhaul support.
These are currently unsupported, and I get quite a lot of mails
asking about it. Hopefully this will be a little more informative
than 'unknown CPU'.

22 years ago[CPUFREQ] Clean up clock_ratio calculation.
Dave Jones [Thu, 4 Sep 2003 03:38:00 +0000 (04:38 +0100)]
[CPUFREQ] Clean up clock_ratio calculation.

22 years ago[CPUFREQ] Fix longhaul's mult,fsb -> MHz conversions.
Dave Jones [Thu, 4 Sep 2003 03:23:31 +0000 (04:23 +0100)]
[CPUFREQ] Fix longhaul's mult,fsb -> MHz conversions.
this was wrong in several places by a factor of 100.
Introduce a calc_speed helper to make this harder to get wrong.
Additionally, clean up some printk's to print out useful values
like MinMult=3.5x instead of MinMult(x10)=35.

22 years ago[PATCH] fix remap of shared read only mappings
James Bottomley [Thu, 4 Sep 2003 03:13:28 +0000 (20:13 -0700)]
[PATCH] fix remap of shared read only mappings

When mmap MAP_SHARED is done on a file, it gets marked with VM_MAYSHARE
and, if it's read/write, VM_SHARED.  However, if it is remapped with
mremap(), the MAP_SHARED is only passed into the new mapping based on
VM_SHARED.  This means that remapped read only MAP_SHARED mappings lose
VM_MAYSHARE.  This is causing us a problem on parisc because we have to
align all shared mappings carefully to mitigate cache aliasing problems.

The fix is to key passing the MAP_SHARED flag back into the remapped are
off VM_MAYSHARE not VM_SHARED.

22 years ago[PATCH] ide: remove supports_dma field from ide_driver_t
Bartlomiej Zolnierkiewicz [Thu, 4 Sep 2003 03:11:54 +0000 (20:11 -0700)]
[PATCH] ide: remove supports_dma field from ide_driver_t

driver->supports_dma was used together with CONFIG_IDEDMA_ONLYDISK to limit
DMA access to disk devices only.  However Alan introduced new scheme in 2.5.63
and this field is not needed any longer because all ide drivers support DMA.

22 years ago[PATCH] ide: fix PM with ide-default driver
Bartlomiej Zolnierkiewicz [Thu, 4 Sep 2003 03:11:42 +0000 (20:11 -0700)]
[PATCH] ide: fix PM with ide-default driver

From Benjamin Herrenschmidt <benh@kernel.crashing.org>

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Thu, 4 Sep 2003 03:08:13 +0000 (20:08 -0700)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
James Bottomley [Thu, 4 Sep 2003 06:46:33 +0000 (01:46 -0500)]
Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6

22 years ago[PATCH] fix /proc/stat handler for ARM, SPARC64, others..
Andrew Morton [Thu, 4 Sep 2003 02:51:38 +0000 (19:51 -0700)]
[PATCH] fix /proc/stat handler for ARM, SPARC64, others..

Some references to irq_stat[] snuck into generic code.  It doesn't work on
several architectures.

So revert that little improvement to the original version.

22 years ago[CPUFREQ] Fix use of fsb before initialisation in longhaul.
Dave Jones [Thu, 4 Sep 2003 02:48:51 +0000 (03:48 +0100)]
[CPUFREQ] Fix use of fsb before initialisation in longhaul.

22 years ago[PATCH] Don't #ifdef prototypes
Russell King [Thu, 4 Sep 2003 02:43:03 +0000 (19:43 -0700)]
[PATCH] Don't #ifdef prototypes

It seems that changing CONFIG_BLK_DEV_INITRD causes the whole kernel to
rebuild due to an inappropriate ifdef in linux/fs.h - we should not
conditionalise prototypes.

In addition, real_root_dev is only used by two files (kernel/sysctl.c
and init/do_mounts_initrd.c) so it makes even less sense that it was in
linux/fs.h

22 years ago[CPUFREQ] Cache FSB in longhaul driver.
Dave Jones [Thu, 4 Sep 2003 02:24:52 +0000 (03:24 +0100)]
[CPUFREQ] Cache FSB in longhaul driver.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 4 Sep 2003 01:47:07 +0000 (18:47 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Thu, 4 Sep 2003 01:07:18 +0000 (18:07 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years ago[NET]: Kill net/README, obsolete and out-of-date.
John Levon [Thu, 4 Sep 2003 00:54:03 +0000 (17:54 -0700)]
[NET]: Kill net/README, obsolete and out-of-date.

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Wed, 3 Sep 2003 22:27:24 +0000 (15:27 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

22 years ago[SPARC]: Add MODULE_ALIAS_LDISC() defines.
David S. Miller [Wed, 3 Sep 2003 21:16:23 +0000 (14:16 -0700)]
[SPARC]: Add MODULE_ALIAS_LDISC() defines.

22 years ago[USB]: hiddev_exit() can no longer be __exit, called from init code now.
David S. Miller [Wed, 3 Sep 2003 21:10:08 +0000 (14:10 -0700)]
[USB]: hiddev_exit() can no longer be __exit, called from init code now.

22 years ago[NETFILTER]: NAT range calculation fix.
Harald Welte [Wed, 3 Sep 2003 21:09:48 +0000 (14:09 -0700)]
[NETFILTER]: NAT range calculation fix.

This patch fixes a logic bug in NAT range calculations, which also
causes a large slowdown when ICMP floods go through NAT.

Author: Karlis Peisenieks

22 years ago[PATCH] MODULE_ALIAS for tty ldisc
Andrew Morton [Wed, 3 Sep 2003 18:25:06 +0000 (11:25 -0700)]
[PATCH] MODULE_ALIAS for tty ldisc

From: Rusty Russell <rusty@rustcorp.com.au>

Rather than hardcoded names in modprobe, modules can offer their own
aliases (which can be overridden by the config file).

Here are the tty-ldisc ones.

22 years ago[PATCH] cciss error handling cleanup
Andrew Morton [Wed, 3 Sep 2003 18:14:12 +0000 (11:14 -0700)]
[PATCH] cciss error handling cleanup

From: mike.miller@hp.com

Clean up the error handling in cciss_init_one().

22 years ago[PATCH] hermes.h fails with outw_p() in :?
Andrew Morton [Wed, 3 Sep 2003 18:14:04 +0000 (11:14 -0700)]
[PATCH] hermes.h fails with outw_p() in :?

From: Michael Pruznick <michael_pruznick@mvista.com>

build errors:
  hermes.h: In function `hermes_set_irqmask':
  hermes.h:337: parse error before "do"
  hermes.h:337: parse error before ';' token
  hermes.h: In function `hermes_write_words':

In mips, outw_p() is a #define do...while(0) which, in the case of ?:,
results in a statement being used where an expression is required.

22 years ago[PATCH] drivers/scsi/imm.c build fix
Andrew Morton [Wed, 3 Sep 2003 18:13:55 +0000 (11:13 -0700)]
[PATCH] drivers/scsi/imm.c build fix

22 years ago[PATCH] Remove Documentation/kmod.txt
Andrew Morton [Wed, 3 Sep 2003 18:13:47 +0000 (11:13 -0700)]
[PATCH] Remove Documentation/kmod.txt

From: Rusty Russell <rusty@rustcorp.com.au>

Please delete Documentation/kmod.txt: it's entirely outdated and misleading.

I thought about rewriting it, but there's not much to add beyond what's in
the CONFIG_KMOD's help text.