- 07 Jan, 2003 20 commits
-
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Martin J. Bligh authored
OK, the grand finale ... NUMA-Q is now moved into subarch, so we can kill off the last vestiges - CONFIG_CLUSTERED_APIC, clustered_apic_mode, and smpboot.h (which only contains machine specific stuff now anyway). the esr_disable switch was the last bit, that goes to subarch too. If you end up with an empty smpboot.h due to patch / bitkeeper interactions, please remove it after this ...
-
Martin J. Bligh authored
This removes clustered_apic_mode from smpboot.c into subarch, creating a headerfile "mach_wakecpu" for all the cpu wakeup stuff. This is pretty much the last of clustered_apic_mode ... ;-)
-
Martin J. Bligh authored
To be honest, I have no idea what I was smoking when I wrote this originally, and it's kind of coincidental that it works at all currently. We never use physical apicids after the cpus are all booted, so we should just store the logical IDs which all subsequent things use. The only things that were using the apicid->cpu mapping were hokey anyway, and it's hard to maintain for machines that have a large apic addressing space (eg P4s in clustered mode). Rips out everything except the mapping from logical_apic_id -> cpu.
-
Martin J. Bligh authored
Moves check_phys_apicid_present() into subarch, and cleans up a couple of stupid errors, and some bracketing issues in the macros.
-
Martin J. Bligh authored
Patch from James Cleverdon Changes do_boot_cpu to return an error code, instead of trying to work it out later by magic and voodoo. Removes the other usage of apicid->cpu which is hard to maintain cleanly.
-
Martin J. Bligh authored
Patch originally by Matt Dobson. Reworked a little by me. Stores the mappings between cpus and nodes in an array, instead of working them out every time. Gives about 4% off systime for kernel compile (we use these for every page allocation), and removes one of the two only usages of apicid->cpu mapping, which is really awkward to keep for systems with large apic spaces, and is genererally pretty useless anyway (later patch removes).
-
Martin J. Bligh authored
Create a generalised apicid_to_node mapping, replacing the local apicid_to_quad I had just locally in NUMA-Q subarch before.
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Dave Kleikamp authored
This simply uses generic_file_aio_read and generic_file_aio_write
-
Dave Kleikamp authored
-
Dave Kleikamp authored
into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5
-
bk://ldm.bkbits.net/linux-2.5-coreLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
bk://linux.bkbits.net/linux-2.5Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
-
Patrick Mochel authored
-
bk://are.twiddle.net/axp-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andi Kleen authored
Make x86-64 compile again after recent extable changes.
-
Ray Lee authored
Micheal Meeks notes: "Evolution is non-functioning on recent 2.5.X kernels, due to mal-performance in getpeername => net/unix/af_unix.c (unix_getname), where it seems we switch 'sk' on 'peer', but not the (previously) typecast pointer to it; this fixes it." Whitespace fixes by Ray Lee.
-
Linus Torvalds authored
and stop honoring the SA_RESTORER information. This will prepare us for alternate signal handler returns.
-
- 06 Jan, 2003 20 commits
-
-
Patrick Mochel authored
Simply, pass off to kset_find_obj() to iterate over list of buses and search for bus with certain name.
-
Patrick Mochel authored
The operation is simple: - Take read lock for kset. - Iterate over kset->list. - Compare name to each kobject's name. - Return kobject if found.
-
Patrick Mochel authored
This creates and exports device_bind_driver() and device_release_driver() that allow a caller to manually bind a device to a driver. Apparantly, some drivers use this functionality (like USB): a driver binds to other device interfaces during the driver's probe() method call for the first interface. Implementation is easy enough, since it simply involves renaming and exporting the internal functions attach() and detach().
-
Patrick Mochel authored
In drivers/base/bus.c, get_bus() was called without put_bus() in these functions: - bus_for_each_dev() - bus_for_each_drv()
-
Dave Kleikamp authored
This is in preparation for sync_fs super_operation.
-
Richard Henderson authored
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-kobject
-
Patrick Mochel authored
- declare net_subsys, and register during net_dev_init(). - Add kobject to struct net_device. - initialize name and register in register_netdevice(). - remove in unregister_netdevice(). This allows one to see the registered network devices in the system via: # tree /sys/net/ /sys/net/ `-- eth0
-
Bjorn Helgaas authored
Here are the i810 and i830 fixes. I don't have either of these, so I can't test them, but they're pretty straightforward.
-
Bjorn Helgaas authored
I don't have a 440GX to test here, but I think the patch below is likely to fix the problem. I see some other issues in intel-agp.c. I'll send those separately since the diff is a little larger and should affect only i810 and i830.
-
Patrick Mochel authored
Since block_subsys already contains a list and a lock, use those, instead of defining our own static ones. This allows struct gendisk::full_list to be removed. struct gendisk::list is also apparently unused, so it is removed also.
-
Patrick Mochel authored
This was never used, and a bad idea to begin with.
-
Patrick Mochel authored
-
Patrick Mochel authored
-
Patrick Mochel authored
The kobject core no longer references a subsystem directly through a kobject, instead using the kobject's dominant kset to reference the subsystem. The registrants of kobjects have been fixed up. To aid in this process, a few helpers were introdcuced: - kobj_set_kset_s(obj,subsys) - kset_set_kset_s(obj,subsys) - subsys_set_kset(obj,subsys) that set the kset ptr of embedded kobjects for objects that have different embedded types. See include/linux/kobject.h for more description and usage. struct subsystem::kobj is also removed, relying solely on a subsystem's embedded kset for hierarchy information. Since this requires modification of the subsystem declarations, a helper macro has been defined: decl_subsys(name,type) which initializes the name and ktype fields of the subsystem's embedded kset. All the subsystem declarations have been fixed up.
-
bk://linux.bkbits.net/linux-2.5Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
-
bk://are.twiddle.net/axp-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Richard Henderson authored
-
Rusty Russell authored
Various archs (i386, m68k, s390, s390x, m68k, parisc, um, x86_64) implement kernel_text_address. Put this in kernel/extable.c, and the module iteration inside module.c. Other than cleanliness, this finally allows the module list and lock to be static to kernel/module.c (you didn't think I actually cared about those archs did you?) It also drops the module->init_size to zero when it's discarded, so bounds checking is simplified (and the /proc/modules size statistic will be more accurate, too).
-
Rusty Russell authored
The declaration of `module_frob_arch_sections' in moduleloader.h (and the definitions in most of the module.c files) are inconsistent with the definition in the PPC's module.c -- in the latter the first two arguments are not declared `const', whereas everyplace else they are. PS. secstrings can be modded to: if an arch can't handle discarding init, it simply renames the .init sections.
-