]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.30 v2.5.30
Linus Torvalds [Thu, 1 Aug 2002 07:09:21 +0000 (00:09 -0700)]
Linux v2.5.30

22 years agoFix missing semicolon from gendisk work.
Linus Torvalds [Thu, 1 Aug 2002 06:58:28 +0000 (23:58 -0700)]
Fix missing semicolon from gendisk work.

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-driverfs-api
Linus Torvalds [Thu, 1 Aug 2002 06:38:44 +0000 (23:38 -0700)]
Merge bk://ldm.bkbits.net/linux-2.5-driverfs-api
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoUndo d_drop removal at Trond's request
Linus Torvalds [Thu, 1 Aug 2002 06:35:00 +0000 (23:35 -0700)]
Undo d_drop removal at Trond's request
Cset exclude: torvalds@home.transmeta.com|ChangeSet|20020801011106|51286

22 years ago[PATCH] split "gendisk" to be per-disk, part 2
Alexander Viro [Thu, 1 Aug 2002 06:33:24 +0000 (23:33 -0700)]
[PATCH] split "gendisk" to be per-disk, part 2

we are starting to split gendisks - now we can do that.  Done for
ide, sd, pd, hd and mfm

It's in transit - what we are aiming at is getting ->nr_real to 1 for
all gendisks.  Once that will be done we will be able to simplify a lot
stuff and remove ad-hackery.  First thing that will happen after that
is death of ->nr_real, obviouslye.  Then we
(a) will merge ->major and ->first_minor into ->dev
(b) strip one level of indirection from  ->driverfs_dev_arr, ->de_arr
and ->flags - they turn into single-element arrays and we will simply pull
the (only) element into struct gendisk.  Kills a lot of ad-hackery in splitup
code (fewer things to allocate).
(c) replace ->major_name with ->disk_name; kills most of the crap in
disk_name(9) - it only has to care about adding partition number to the name.

22 years ago[PATCH] split "gendisk" to be per-disk, part 1
Alexander Viro [Thu, 1 Aug 2002 06:31:15 +0000 (23:31 -0700)]
[PATCH] split "gendisk" to be per-disk, part 1

now that gendisks don't have shared stuff (we used to set blk_size[]
from ->sizes) we can start splitting them into per-disk ones.

Step 1:
  we introduce a new field - ->first_minor (to be merged with ->major
  into dev_t of entire disk once all gendisks are split).  All arrays
  are assumed to start at that minor (i.e.  gd->part[minor] got replaced
  with gd->part[minor - gd->first_minor], etc.).  get_gendisk() is
  taught to pick the right gendisk if there are several with the same
  major.

22 years ago[PATCH] Get rid of per-partition blk_size[]
Alexander Viro [Thu, 1 Aug 2002 06:31:06 +0000 (23:31 -0700)]
[PATCH] Get rid of per-partition blk_size[]

kills use of blk_size[] for partitioned devices, removes ->sizes from
struct gendisk.

22 years agoAutomerge
Linus Torvalds [Thu, 1 Aug 2002 06:28:55 +0000 (23:28 -0700)]
Automerge

22 years agoMerge bk://linux-input.bkbits.net/linux-input
Linus Torvalds [Thu, 1 Aug 2002 06:03:13 +0000 (23:03 -0700)]
Merge bk://linux-input.bkbits.net/linux-input
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[PATCH] [PATCH[ 8139cp comment fix
Felipe Damasio [Thu, 1 Aug 2002 05:50:12 +0000 (22:50 -0700)]
[PATCH] [PATCH[ 8139cp comment fix

This patch corrects a comment on the 8139cp ethernet driver.

22 years ago[PATCH] sanitize TLS API
Ingo Molnar [Thu, 1 Aug 2002 05:50:00 +0000 (22:50 -0700)]
[PATCH] sanitize TLS API

This removes the TLS clear operation.  I've left the flags mask and the
writable flag just so that we have the option to introduce extensions
without breaking the ABI.

22 years agoMerge with Rusty 'trivial' Russell
Linus Torvalds [Thu, 1 Aug 2002 05:31:26 +0000 (22:31 -0700)]
Merge with Rusty 'trivial' Russell

22 years ago[PATCH] small region change for boardergo.c
William Stinson [Thu, 1 Aug 2002 05:25:55 +0000 (22:25 -0700)]
[PATCH] small region change for boardergo.c

this is a small patch for boardergo.c linux driver for isdn HYSDN cards to
    1) remove call to check_region using request_region instead
    2) check the status of call to request_region
    3) release allocated region resource in case of error.

I don't have this hardware so compilation checked only.

22 years ago[PATCH] documentation typos in
Christoph Hellwig [Thu, 1 Aug 2002 05:25:42 +0000 (22:25 -0700)]
[PATCH] documentation typos in

from Debian's kernel package

[ Typo fix, makes sense, please apply ]

22 years ago[PATCH] Typos in linux_arch_i386_kernel_io_apic.c
James Mayer [Thu, 1 Aug 2002 05:25:27 +0000 (22:25 -0700)]
[PATCH] Typos in linux_arch_i386_kernel_io_apic.c

22 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 4 (1_4)
Greg Banks [Thu, 1 Aug 2002 05:25:17 +0000 (22:25 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 4 (1_4)

Symbols CONFIG_HISAX_ENTERNOW_PCI and CONFIG_HISAX_AMD7930 depend on
CONFIG_EXPERIMENTAL but do not say so in their banners.

22 years ago[PATCH] PATCH 2.5: kconfig spurious EXPERIMENTAL 3 (1_2)
Greg Banks [Thu, 1 Aug 2002 05:25:07 +0000 (22:25 -0700)]
[PATCH] PATCH 2.5: kconfig spurious EXPERIMENTAL 3 (1_2)

Symbol CONFIG_PPPOATM doesn't depend on CONFIG_EXPERIMENTAL but claims
to in its banner.

22 years ago[PATCH] using ptr after kfree()
Marcus Alanen [Thu, 1 Aug 2002 05:24:57 +0000 (22:24 -0700)]
[PATCH] using ptr after kfree()

Somebody noticed on #kernelnewbies. In the error path, so this is
silly cleanup work...

22 years ago[PATCH] PATCH 2.5: kconfig spurious bool default value (1_3)
Greg Banks [Thu, 1 Aug 2002 05:24:48 +0000 (22:24 -0700)]
[PATCH] PATCH 2.5: kconfig spurious bool default value (1_3)

Some CML1 rule contributors seem to think that the "bool" statement
takes a third argument which is the default value.  It doesn't.

22 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Thu, 1 Aug 2002 05:24:41 +0000 (22:24 -0700)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-driverfs-api

22 years ago[PATCH] 2.5 Trivial patch - 1400x1050 video mode added twice in 2.5.28
rfjak@eircom.net [Thu, 1 Aug 2002 05:24:40 +0000 (22:24 -0700)]
[PATCH] 2.5 Trivial patch - 1400x1050 video mode added twice in 2.5.28

I am not sure if you are the actual maintainer for this, but your name
adorns the source :
  2.5.28 introduced video mode 1400x1050 twice into drivers/video/modedb.c
Both instances use indentical timings, so I guess it's a mistake.

22 years ago[PATCH] PATCH 2.5: kconfig spurious EXPERIMENTAL 3 (2_2)
Greg Banks [Thu, 1 Aug 2002 05:24:30 +0000 (22:24 -0700)]
[PATCH] PATCH 2.5: kconfig spurious EXPERIMENTAL 3 (2_2)

Symbol CONFIG_EXT3_FS doesn't depend on CONFIG_EXPERIMENTAL but claims
to in its banner.

22 years ago[PATCH] fix warning
Anton Blanchard [Thu, 1 Aug 2002 05:24:18 +0000 (22:24 -0700)]
[PATCH] fix warning

Quick fix for:
  smbiod.c:272: warning: deprecated use of label at end of compound statement

22 years ago[PATCH] small region change for baycom_ser_hdx.c
William Stinson [Thu, 1 Aug 2002 05:24:03 +0000 (22:24 -0700)]
[PATCH] small region change for baycom_ser_hdx.c

this is a small patch for baycom_ser_hdx.c  -- baycom ser12 halfduplex radio modem driver to
    1) remove call to check_region using request_region instead
    2) check the status of call to request_region
    3) release allocated region resource in case of error.

I don't have this hardware so compilation checked only.

22 years ago[PATCH] silence APIC errors a bit
Christoph Hellwig [Thu, 1 Aug 2002 05:23:49 +0000 (22:23 -0700)]
[PATCH] silence APIC errors a bit

They are harmless mostly and can happen in normal use. (from -rh)

22 years ago[PATCH] ftape bitops -> long fix
Mikael Pettersson [Thu, 1 Aug 2002 05:23:37 +0000 (22:23 -0700)]
[PATCH] ftape bitops -> long fix

Silence bitop on non-long argument warnings.

22 years ago[PATCH] Typo in linux_net_sched_sch_ingress.c
James Mayer [Thu, 1 Aug 2002 05:23:29 +0000 (22:23 -0700)]
[PATCH] Typo in linux_net_sched_sch_ingress.c

22 years ago[PATCH] explicit signed char cast in i386 spin_is_locked
Christoph Hellwig [Thu, 1 Aug 2002 05:23:21 +0000 (22:23 -0700)]
[PATCH] explicit signed char cast in i386 spin_is_locked

To make spinlock debugging work with -funsigned-char the i386 version
of spin_is_locked() needs to cast to signed char explicitly instead of
just char.  XFS needed -funsigned-char (and currently still has it),
but it doesn't evert hurt.

22 years ago[PATCH] designated initializer patches for
Art Haas [Thu, 1 Aug 2002 05:23:13 +0000 (22:23 -0700)]
[PATCH] designated initializer patches for

Here are patches for designated initializers in kernel/*.

22 years ago[PATCH] reparent scsi new-EH threads to init
Christoph Hellwig [Thu, 1 Aug 2002 05:23:05 +0000 (22:23 -0700)]
[PATCH] reparent scsi new-EH threads to init

(Included in 2.4)

22 years ago[PATCH] drm_mga bitops -> long fix
Mikael Pettersson [Thu, 1 Aug 2002 05:22:57 +0000 (22:22 -0700)]
[PATCH] drm_mga bitops -> long fix

Silence bitop on non-long argument warnings.

[ Not just silence warnings, but fix portability bug ]

22 years ago[PATCH] fix compile warning
Anton Blanchard [Thu, 1 Aug 2002 05:22:50 +0000 (22:22 -0700)]
[PATCH] fix compile warning

Fix warning about undefined struct pt_regs.

22 years ago[PATCH] Export synchronize_irq on CONFIG_SMP=y
Tom Rini [Thu, 1 Aug 2002 05:22:42 +0000 (22:22 -0700)]
[PATCH] Export synchronize_irq on CONFIG_SMP=y

Currently, all arches which support SMP define synchronize_irq(irq)
to be a real function (generally defined in arch/$(ARCH)/kernel/irq.c).
This export was removed inadvertanly I believe in the "bit IRQ lock"
removal and IRQ cleanups ChangeSet.

22 years ago[PATCH] Fix typo in net_ipv4_ipconfig.c
Thiemo Seufer [Thu, 1 Aug 2002 05:22:34 +0000 (22:22 -0700)]
[PATCH] Fix typo in net_ipv4_ipconfig.c

this just fixes a typo.

22 years ago[PATCH] Fix typo in mm_slab.c
Thiemo Seufer [Thu, 1 Aug 2002 05:22:27 +0000 (22:22 -0700)]
[PATCH] Fix typo in mm_slab.c

this just fixes a typo.

22 years ago[PATCH] Mark sparc32 unmaintained in 2.5
Rusty Russell [Thu, 1 Aug 2002 05:22:19 +0000 (22:22 -0700)]
[PATCH] Mark sparc32 unmaintained in 2.5

DaveM said this was fine.

22 years ago[PATCH] region changes for rocket
William Stinson [Thu, 1 Aug 2002 05:22:12 +0000 (22:22 -0700)]
[PATCH] region changes for rocket

this is a small patch for Rocketport device driver for Linux to
  1) remove two calls to check_region using request_region instead
  2) release allocated region resource in case of error.

I don't have this hardware so compilation checked only.

This patch does not remove all references to check_region in this driver
(one reference still left unchanged).

22 years ago[PATCH] typo in fs_ufs_super.c:ufs_fill_super()
Mikael Pettersson [Thu, 1 Aug 2002 05:22:05 +0000 (22:22 -0700)]
[PATCH] typo in fs_ufs_super.c:ufs_fill_super()

Obvious typo: checking block size but printing fragment size.

22 years ago[PATCH] PATCH 2.5: kconfig EXPERIMENTAL variant form
Greg Banks [Thu, 1 Aug 2002 05:21:58 +0000 (22:21 -0700)]
[PATCH] PATCH 2.5: kconfig EXPERIMENTAL variant form

The convention is that symbols that depend on $CONFIG_EXPERIMENTAL are
marked in the banner with the string (EXPERIMENTAL).  There are some
cases where that string is correctly used but is Capitalised instead of
uppercase.

22 years ago[PATCH] PATCH: kconfig choice defaults 2 (3_3)
Greg Banks [Thu, 1 Aug 2002 05:21:47 +0000 (22:21 -0700)]
[PATCH] PATCH: kconfig choice defaults 2 (3_3)

The default value specified as the last word of the "choice" statement
should be a unique abbreviation of one of the sub-prompts.  Using one
of the sub-symbols is not legal.  Fix 'Type of PHY'.

[Rusty: this is 3/3 partial resends of 'PATCH: kconfig choice defaults (1/2)']

22 years ago[PATCH] remove declaration of __free_pte()
William Lee Irwin III [Thu, 1 Aug 2002 05:21:39 +0000 (22:21 -0700)]
[PATCH] remove declaration of __free_pte()

__free_pte() no longer exists in the kernel, but is still declared
from include/linux/mm.h. This patch removes that declaration.

22 years ago[PATCH] update dqblk_xfs.h inclusion guards
Christoph Hellwig [Thu, 1 Aug 2002 05:21:30 +0000 (22:21 -0700)]
[PATCH] update dqblk_xfs.h inclusion guards

This file was called xqm.h previously, and the inclusion guards still
think it is..

22 years ago[PATCH] Adaptec Starfire config fix
Matthew Dobson [Thu, 1 Aug 2002 05:21:22 +0000 (22:21 -0700)]
[PATCH] Adaptec Starfire config fix

22 years ago[PATCH] swsusp: comment updates and warning fixes
Pavel Machek [Thu, 1 Aug 2002 05:11:55 +0000 (22:11 -0700)]
[PATCH] swsusp: comment updates and warning fixes

Better comments and less warnings, please apply

22 years ago[PATCH] swsusp: Vojtech pointed error in usb/hub.c
Pavel Machek [Thu, 1 Aug 2002 05:11:46 +0000 (22:11 -0700)]
[PATCH] swsusp: Vojtech pointed error in usb/hub.c

We do not want threads exiting because of suspend, so refrigerator
should be just before test for signals pending (so it has chance to
kill them).

22 years agodriverfs: define struct driverfs_ops and remove struct device dependencies
Patrick Mochel [Thu, 1 Aug 2002 05:07:33 +0000 (22:07 -0700)]
driverfs: define struct driverfs_ops and remove struct device dependencies

In order to read/write attributes, you have to deal directly with the object that owns them. driverfs really
wants to be generic and not deal directly with those objects. So, we create an intermediate layer that
subsystems must implement that converts between the generic objects and the specific objects that own the
attributes.

This allows allows attributes to be exported for any object type.

In doing so, it places the responsibility on the subsystems to do the following:

- define their own object-specific attribute structures
- define their own driverfs_ops
- set the ops pointer in struct driver_dir_entry when creating an object's directory
- do object reference counting on open() and close()
- call the show() and store() callbacks of their attribute structure
- convert between the generic objects and the specific objects from the struct driver_dir_entry and
  struct attribute pointers (using container_of)

The implementation of this layer for struct device is intended to be used as an example of the interface.

Because this layer of abstraction is now in place, we can move the device attribute structure into
include/linux/device.h, and driverfs should be free of references to it completely.

22 years ago[PATCH] parport_serial/serial init dependencies
Zwane Mwaikambo [Thu, 1 Aug 2002 05:01:05 +0000 (22:01 -0700)]
[PATCH] parport_serial/serial init dependencies

This looks to be somewhat botched up init dependencies.  This patch
takes into consideration paride as well as fixing the parport_serial
case.

22 years ago[PATCH] C99 initializers for mm
Hugh Dickins [Thu, 1 Aug 2002 05:00:56 +0000 (22:00 -0700)]
[PATCH] C99 initializers for mm

ISO C99 designated initializers by Art Haas for mm.

22 years agoMerge http://suncobalt.bkbits.net/submit-2.5
Linus Torvalds [Thu, 1 Aug 2002 04:59:31 +0000 (21:59 -0700)]
Merge http://suncobalt.bkbits.net/submit-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-driverfs
Linus Torvalds [Thu, 1 Aug 2002 04:58:01 +0000 (21:58 -0700)]
Merge bk://ldm.bkbits.net/linux-2.5-driverfs
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge http://gkernel.bkbits.net/alpha-2.5
Linus Torvalds [Thu, 1 Aug 2002 04:50:49 +0000 (21:50 -0700)]
Merge http://gkernel.bkbits.net/alpha-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge bk://linuxusb.bkbits.net/devfs-2.5
Linus Torvalds [Thu, 1 Aug 2002 04:48:20 +0000 (21:48 -0700)]
Merge bk://linuxusb.bkbits.net/devfs-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[PATCH] fix UP links - current bk tree
Ed Tomlinson [Thu, 1 Aug 2002 04:47:24 +0000 (21:47 -0700)]
[PATCH] fix UP links - current bk tree

Fix so UP does not ask for migration_init

22 years ago[PATCH] misc elevator/block updates
Jens Axboe [Thu, 1 Aug 2002 04:46:36 +0000 (21:46 -0700)]
[PATCH] misc elevator/block updates

I've got a new i/o scheduler in testing, some changes where needed in
the block layer to accomodate it. Basically because right now
assumptions are made about q->queue_head being the sort list. The
changes in detail:

o elevator_merge_requests_fn takes queue argument as well

o __make_request() inits insert_here to NULL instead of
  q->queue_head.prev, which means that the i/o schedulers must
  explicitly check for this condition now.

o incorporate elv_queue_empty(), it was just a place holder before

o add elv_get_sort_head(). it returns the sort head of the elevator for
  a given request. attempt_{back,front}_merge uses it to determine
  whether a request is valid or not. Maybe attempt_{back,front}_merge
  should just be killed, I doubt they have much relevance with the wake
  up batching.

o call the merge_cleanup functions of the elevator _after_ the merge has
  been done, not before. This way the elevator functions get the new
  state of the request, which is the most interesting.

o Kill extra nr_sectors check in ll_merge_requests_fn()

o bi->bi_bdev is always set in __make_request(), so kill check.

22 years ago[PATCH] 2.5.29 IDE 111
Martin Dalecki [Thu, 1 Aug 2002 04:45:44 +0000 (21:45 -0700)]
[PATCH] 2.5.29 IDE 111

 - Change over queuedata to carry the device instead of the channel
   information.

22 years ago[PATCH] 2.5.29 IDE 110
Martin Dalecki [Thu, 1 Aug 2002 04:45:34 +0000 (21:45 -0700)]
[PATCH] 2.5.29 IDE 110

 - cs5530 patches by Adam J. Richter. Small indent style adjustments.

 - qd65xx cli()/sti() adjustments.

 - Fix bogous command in ide.c pointed out by Peter Vendroviec.

 - Eliminate ide_stall_queue(). For those worried: we didn't sleep at
   all.

 - Eliminate support for "sector remapping". loop devices can handle
   stuff like that. All the custom DOS high system memmory loaded
   BIOS workaround tricks are obsolete right now. If anywhere it should
   be the FAT filesystem code which should be clever enough to deal with
   it by adjusting it's read/write methods.

 - PCI "scather gather" allocation handling revamp by Adam J. Richter.

 - Simplify do_ide_request after ->sleep removal.

 - Make do_ide_request prefer to handle the device matching the request
   queue it was called for first. RQ-queues are unique for devices.
   In a next step queuedata will be changed to point to the device
   not the channel.

22 years agodriverfs: Add struct attribute
Patrick Mochel [Thu, 1 Aug 2002 04:17:11 +0000 (21:17 -0700)]
driverfs: Add struct attribute
driverfs can only handle passing struct device to read/write functions. In order to free it of this limitation,
we need a common data structure for driverfs to pass around.

The only thing that driverfs really needs are the name and mode of the file, which are now located in struct
attribute.

struct device_attribute gets a struct attribute member, which holds the name and mode. With the DEVICE_ATTR
macro, users of the structure require no modification.

device_create_file is modified to take a struct attribute parameter

a to_dev_attr() macro is introduced to convert between a struct attribute to a struct device_attribute

22 years agoConvert users of struct device_attribute to initialize the structs using
Patrick Mochel [Thu, 1 Aug 2002 03:48:56 +0000 (20:48 -0700)]
Convert users of struct device_attribute to initialize the structs using
DEVICE_ATTR macro.

22 years agodriverfs: Declare DEVICE_ATTR macro for initializing device attributes
Patrick Mochel [Thu, 1 Aug 2002 03:48:04 +0000 (20:48 -0700)]
driverfs: Declare DEVICE_ATTR macro for initializing device attributes
(hide internal format of the structure)

22 years ago[PATCH] Fix brown paper bag race in RPC receive code
Trond Myklebust [Thu, 1 Aug 2002 01:43:20 +0000 (18:43 -0700)]
[PATCH] Fix brown paper bag race in RPC receive code

Changeset 1.403.142.29 introduces a pretty nasty race into the RPC
code. Once we've decoded the RPC reply, it needs to be protected
against being overwritten by any resends.

The following patch achieves this by ensuring that the request is
removed from the list xprt->recv in xprt_complete_rqst(). This again
ensures that xprt_lookup_rqst() will fail to find that request until
we put it back on the list.

22 years agoWe'd better BUG out inside the NFS code rather than return a
Linus Torvalds [Wed, 31 Jul 2002 11:13:05 +0000 (04:13 -0700)]
We'd better BUG out inside the NFS code rather than return a
bogus dentry pointer to the VFS layer (which would oops on it
inside the dcache lock).

22 years agoRemove d_drop() at dentry revalidate: the callers know when
Linus Torvalds [Wed, 31 Jul 2002 11:11:06 +0000 (04:11 -0700)]
Remove d_drop() at dentry revalidate: the callers know when
the d_drop is appropriate.

22 years agoMerge penguin:v2.5/linux
Linus Torvalds [Wed, 31 Jul 2002 10:51:22 +0000 (03:51 -0700)]
Merge penguin:v2.5/linux
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] Re: BUG at rmap.c:212
Andrew Morton [Wed, 31 Jul 2002 10:50:59 +0000 (03:50 -0700)]
[PATCH] Re: BUG at rmap.c:212

Linus, can we please not have that BUG() in 2.5.30?

22 years ago[PATCH] ohci, control/enumeration fix
David Brownell [Wed, 31 Jul 2002 10:48:57 +0000 (03:48 -0700)]
[PATCH] ohci, control/enumeration fix

One of the flakey things I see with 2.5.29 is that many
devices give trouble enumerating.  uhci still oopses khubd
enumerating pegasus (many control message errors first).
But that's not the only troublesome combo.

This patch fixes a failure that would hang the ohci driver
It's basically avoiding a few less IRQs (most noticable
with ISO), in this case so that a wedged SET_ADDRESS completes.
(Instead of hanging khubd in 'D' state.)  And it also updates
a diagnostic to provide more troubleshooting help for similar
issues in the future.

22 years ago[PATCH] CPU#1 not working with CONFIG_SMP=y, 2.5.28 OK.
Rusty Russell [Wed, 31 Jul 2002 10:48:41 +0000 (03:48 -0700)]
[PATCH] CPU#1 not working with CONFIG_SMP=y, 2.5.28 OK.

Linus, please apply. This fixes cpu_possible() on x86.

22 years ago[PATCH] Re: better getattr caching..
Trond Myklebust [Wed, 31 Jul 2002 07:28:49 +0000 (00:28 -0700)]
[PATCH] Re: better getattr caching..

The following patches to nfs2xdr.c/nfs3xdr.c might be relevant: *entry
points into the page, and so the assignment should be made before we
kunmap().

Also includes a patch that converts references to inode->i_data into
inode->i_mapping.  Not likely to be the source of your hang, but should
still be done for consistency with the rest of the kernel.

22 years ago[PATCH] NFS lookup() BKL imbalance
Trond Myklebust [Wed, 31 Jul 2002 07:24:29 +0000 (00:24 -0700)]
[PATCH] NFS lookup() BKL imbalance

One more lookup bug caught. Fix missing unlock_kernel() when doing
readdirplus cached lookups in nfs_lookup().

22 years agoalpha pid-reporting POSIX comformance bug fix:
Jeff Garzik [Wed, 31 Jul 2002 07:17:02 +0000 (03:17 -0400)]
alpha pid-reporting POSIX comformance bug fix:
2.4 kernels were changed to support POSIX thread groups, such that,
sys_getpid() now returns $task->tgid, the thread group id.

Since alpha implements its own getpid syscall, it missed this change,
which is now included here.

22 years agofixup users of device_remove_file to pass a struct device_attribute, instead of a...
Patrick Mochel [Wed, 31 Jul 2002 07:09:46 +0000 (00:09 -0700)]
fixup users of device_remove_file to pass a struct device_attribute, instead of a char *

22 years agodriverfs:
Patrick Mochel [Wed, 31 Jul 2002 07:08:54 +0000 (00:08 -0700)]
driverfs:
make device_remove_file take a struct device_attribute *, instead of just
a char * (for consistency with device_create_file)

22 years agoMerge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input
Vojtech Pavlik [Wed, 31 Jul 2002 03:58:03 +0000 (05:58 +0200)]
Merge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input

22 years agoMake s390 and s390x print the right freed init memory size.
Dan Aloni [Wed, 31 Jul 2002 01:58:38 +0000 (04:58 +0300)]
Make s390 and s390x print the right freed init memory size.
The expression (&__init_begin - &__init_end) depends on the type
of this adhoc extern variables, which was changed from char to long
when the code was copied from another arch.

22 years agoRevert input.h back to kernel types.
Vojtech Pavlik [Wed, 31 Jul 2002 01:54:08 +0000 (03:54 +0200)]
Revert input.h back to kernel types.

22 years agoMerge lauterbach.com:/home/vojtech/bk/linus
Franz Sirl [Wed, 31 Jul 2002 00:08:15 +0000 (02:08 +0200)]
Merge lauterbach.com:/home/vojtech/bk/linus
into lauterbach.com:/home/vojtech/bk/input

22 years agoHi Vojtech,
Franz Sirl [Wed, 31 Jul 2002 00:04:17 +0000 (02:04 +0200)]
Hi Vojtech,
some superflous keyboard stuff came back with the last PPC merge
to Linus. This patch fixes that. Please apply.

22 years agoMove sleep_on() above refrigerator so that the kseriod thread
Pavel Machek [Tue, 30 Jul 2002 23:52:03 +0000 (01:52 +0200)]
Move sleep_on() above refrigerator so that the kseriod thread
in serio.c doesn't exit on suspend because of a pending signal.

22 years agoUse stdint.h types instead of __u16 et al in input.h, to make life
Vojtech Pavlik [Tue, 30 Jul 2002 17:19:33 +0000 (19:19 +0200)]
Use stdint.h types instead of __u16 et al in input.h, to make life
easier for userspace people, as Brad Hards has suggested.

22 years agoChange the EVIOC?ABS ioctls to use structs rather than arrays of ints.
Brad Hards [Tue, 30 Jul 2002 17:02:05 +0000 (19:02 +0200)]
Change the EVIOC?ABS ioctls to use structs rather than arrays of ints.

22 years agoRemove the devfs_should* functions I added, and replace them with one devfs_only...
Greg Kroah-Hartman [Tue, 30 Jul 2002 14:46:34 +0000 (07:46 -0700)]
Remove the devfs_should* functions I added, and replace them with one devfs_only() call

This now explains what is really going on much better than before.

22 years agodriverfs: add device_remove_symlink wrapper for removing symlinks (since driverfs
Patrick Mochel [Tue, 30 Jul 2002 13:54:58 +0000 (06:54 -0700)]
driverfs: add device_remove_symlink wrapper for removing symlinks (since driverfs
API is just about to change...)

22 years agoThis simplifies the software autorepeat code in input/input.c,
Vojtech Pavlik [Tue, 30 Jul 2002 13:54:26 +0000 (15:54 +0200)]
This simplifies the software autorepeat code in input/input.c,
also killing a race which could be the cause of autorepeat not
stopping after a key was released.

22 years agoFixup users of driverfs:
Patrick Mochel [Tue, 30 Jul 2002 13:44:14 +0000 (06:44 -0700)]
Fixup users of driverfs:
do a s/driver_file_entry/device_attribute/g on all of them.

22 years agodriverfs: Change the name of struct driver_file_entry to struct device_attribute
Patrick Mochel [Tue, 30 Jul 2002 13:43:13 +0000 (06:43 -0700)]
driverfs: Change the name of struct driver_file_entry to struct device_attribute

It may seem gratuitous, but it's what we really want.

driverfs files are meant to expose attributes of various kernel objects, so in that sense,
the change adds more accurate meaning to the object.

Plus, we will soon gain the ability to expose attributes of drivers (both device and bus)
themselves, and we want to be able to have each mean something reasonable.

This changes driverfs and the device model core (but none of the other users)

22 years agodevice symlinks: just pass name, not struct driver_file_entry to driverfs_create_symlink
Patrick Mochel [Tue, 30 Jul 2002 12:43:45 +0000 (05:43 -0700)]
device symlinks: just pass name, not struct driver_file_entry to driverfs_create_symlink
symlinks now only use the name field of the struct driver_file_entry, so instead of allocating
a new one each time we want to create one, this changes the API to only accept the name (since
the driverfs core will never use the other fields either)

This also guarantees that we won't leak the memory for the entry when the device goes away:
Since the other entries aren't dynamically allocated, and driverfs doesn't free them, we would
have to free them ourselves. It's not really necessary, so this is another win for us.

22 years agodriverfs: consolidate all the hashed lookups into a static helper: get_dentry()
Patrick Mochel [Tue, 30 Jul 2002 12:21:09 +0000 (05:21 -0700)]
driverfs: consolidate all the hashed lookups into a static helper: get_dentry()

22 years agodriverfs: don't dynamically allocate and duplicate struct driver_file_entry's any...
Patrick Mochel [Tue, 30 Jul 2002 12:14:39 +0000 (05:14 -0700)]
driverfs: don't dynamically allocate and duplicate struct driver_file_entry's any more
Now that all unique information about struct driver_file_entry's are gone (the dentry and parent pointers),
the data in them is shared among all users of the entry. So, we don't have any reason to dynamically allocate
and duplicate the data anymore.

22 years agoMerge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input
Vojtech Pavlik [Tue, 30 Jul 2002 12:01:56 +0000 (14:01 +0200)]
Merge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input

22 years agoMerge bk://ldm@bkbits.net/linux-2.5-driverfs
Patrick Mochel [Tue, 30 Jul 2002 12:01:43 +0000 (05:01 -0700)]
Merge bk://ldm@bkbits.net/linux-2.5-driverfs
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-driverfs

22 years agoMerge bk://suncobalt@suncobalt.bkbits.net/submit-2.5
Tim Hockin [Tue, 30 Jul 2002 10:25:21 +0000 (03:25 -0700)]
Merge bk://suncobalt@suncobalt.bkbits.net/submit-2.5
into scl1.sfbay.sun.com:/home/th122948/bk/submit-2.5

22 years agoMerge http://linux.bkbits.net/linux-2.5
Tim Hockin [Tue, 30 Jul 2002 10:22:58 +0000 (03:22 -0700)]
Merge http://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/ua/repos/s/suncobalt/submit-2.5

22 years agoMerge bk://tux.sfbay/linux-2.5
Tim Hockin [Tue, 30 Jul 2002 10:20:18 +0000 (03:20 -0700)]
Merge bk://tux.sfbay/linux-2.5
into scl1.sfbay.sun.com:/home/th122948/bk/submit-2.5

22 years agoclean up 'return (x);' style stuff into 'return x' in nvram.c
Tim Hockin [Tue, 30 Jul 2002 10:16:50 +0000 (03:16 -0700)]
clean up 'return (x);' style stuff into 'return x' in nvram.c

22 years agoSplit up "do_fork()" into "copy_process()" and "do_fork()".
Linus Torvalds [Tue, 30 Jul 2002 08:49:23 +0000 (01:49 -0700)]
Split up "do_fork()" into "copy_process()" and "do_fork()".

copy_process() just copies the process, it doesn't actually start it.

This is in preparation for doing a "atomically start process on CPU X"
or other cases where we want to change the state of the process before
we actually start running it.

22 years agoRemoved devfs_register_blkdev and devfs_unregister_blkdev.
Greg Kroah-Hartman [Tue, 30 Jul 2002 08:40:49 +0000 (01:40 -0700)]
Removed devfs_register_blkdev and devfs_unregister_blkdev.

Use register_blkdev and unregister_blkdev as before, and everything will work just fine.

22 years agoRemoved devfs_register_chrdev and devfs_unregister_chrdev.
Greg Kroah-Hartman [Tue, 30 Jul 2002 07:38:11 +0000 (00:38 -0700)]
Removed devfs_register_chrdev and devfs_unregister_chrdev.

Use register_chrdev and unregister_chrdev as before, and everything will work.

22 years ago[PATCH] 2.5.29 IDE 109
Martin Dalecki [Tue, 30 Jul 2002 07:37:06 +0000 (00:37 -0700)]
[PATCH] 2.5.29 IDE 109

 - Include first cut by Adam J. Richter on proper lock protection for
   tuning functions.

 - Rename ide_register_subdriver() to ata_register_device() and
   ide_unregister_subdriver() accordingly to ata_unregister_device(),
   since this is reflecting better what those functions are about.

 - Remove tons of "curicum vite" style useless documentation here and
   there.

22 years ago[PATCH] 2.5.29 IDE 108
Martin Dalecki [Tue, 30 Jul 2002 07:36:33 +0000 (00:36 -0700)]
[PATCH] 2.5.29 IDE 108

 - typedef unsigned char byte; is finally gone. Everything using it should
   be just ported to u8 if I missed some place where it still gets used.

 - Next round of parameter parsing cleanups by Gerald Champagne.
   Adjusted a bit to harmonize with  hd.c.

 - Move IDE register bitfields declarations over from hdparm.h to
   ide.h.

 - Declare constants needed by hd.c directly there. Those are standard
   values not subject to change and we prefer a bit of code duplication
   in favour of making the two drivers independant from each other.

 - Move everything not ioctl related away from hdreg.h to ide.h.
   This header is in effect not private to the ATA code and should
   therefore not contain stuff only usefull there.

22 years ago[PATCH] cs5530 IDE driver cli/sti fixes and cleanups
Alan Cox [Tue, 30 Jul 2002 07:36:23 +0000 (00:36 -0700)]
[PATCH] cs5530 IDE driver cli/sti fixes and cleanups

The CS5530 one seems unneeded looking at the databook.  Try the patch
below instead, which removes the irq lock and uses the proper kernel
functions to enable MWI and master.

22 years ago[PATCH] Bluetooth Subsystem PC Card drivers update
Marcel Holtmann [Tue, 30 Jul 2002 22:31:16 +0000 (00:31 +0200)]
[PATCH] Bluetooth Subsystem PC Card drivers update

This updates the 2.5.x PC Card drivers of the Bluetooth subsystem.