- 26 Sep, 2003 40 commits
-
-
Bernardo Innocenti authored
GCC 3.4 miscompiles the kernel because it silently optimizes away data placed in the .init.setup section by the __setup() macro. __attribute__((unused)) does only avoid the warning, but doesn't mark the data as being used. Since GCC 3.3, __attribute__((used)) should be applied to such variables. The __attribute_used__ macro from linux/compiler.h already takes care of compiler differences for us. In this patch, I've gone a step further and proactively fixed that in all places.
-
Steven Dake authored
Thanks Matt and Jens for the debug help on the multipath problem. This solves the problem and makes multipath work properly. There are two types of "flags" that are used in a block io request, bi_flags, and bi_rw. bi_flags is used for flags to the block level code, and bi_rw is used for flags to the low level device drivers. The code in the multipath driver used the wrong flag in the wrong field. In this case, the flag FASTFAIL (value 3) was being set to the bi_flags field. FASTFAIL is a hint to the low level driver that it should try to fail out quickly. Unfortunately, the value 3 is also BIO_SEG_VALID, which is a flag to the block subsystem that the segments shouldn't be recalculated. The result was that the wrong field was set, telling the block layer not to recalculate the segments resulting in phys and hw segments of 0. Not good.
-
Patrick Mochel authored
This is a new patch that includes Martin's, and makes create_dir() return an int. That matches sysfs_create_file(), and saves a couple of conversions back and forth between pointer and error.
-
Linus Torvalds authored
avoid an annoying nonsense configuration question.
-
Linus Torvalds authored
-
Andi Kleen authored
- Remove obsolete wrong do_magic prototype - Remove the dependency between ACPI_SLEEP and SOFTWARE_SUSPEND some people complained about. Works the same as i386 now. - Fix another gcc 3.3 warning in reboot.c - Default NMI watchdog to LOCAL_APIC because that works on more boxes
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org>
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove duplicate #includes from fs/intermezzo.
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org> The verify_area's are not needed.
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove unnecessary include of version.h in drivers/tc/
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org> verify_area isn't needed.
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org> Drop verify_area, using copy*user already (instead). Also user -EFAULT for error instead of -EINVAL.
-
Randy Dunlap authored
From: maximilian attems <janitor@sternwelten.at> this patches catches obvious mistyping of new line: /n versus \n adds a printk loglevel to one of the erroneous lines
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org>
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove duplicate #includes in fs/ Remove version.h includes where they aren't necessary. Test compiled on 2.6.0-test5-bk9.
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org> Deleted unneeded verify_area calls. Also commented a label.
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org> Use get_user/put_user to check user addressing, don't need to use verify_area also.
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Martin Schwidefsky authored
Remove outdated ipl records from arch/s390/boot. They are now part of the s390-tools package.
-
Martin Schwidefsky authored
s390 documentation changes.
-
Martin Schwidefsky authored
Add support for vt220 console over sclp.
-
Martin Schwidefsky authored
- Create symlinks between netdev and groupdev. - Remove initialization of device.name. - Call qeth_free_card on removal. - Remove async hsi. - Remove contig memusage. - Add check for -EFAULT to copy_from_user/copy_to_user. - Inlining some functions to save kernel stack space. - vlan header fixes. - Replace atomic_return_sub with atomic_add_return.
-
Martin Schwidefsky authored
- Add type and timeout attribute. - Create symlinks between netdev and groupdev. - Remove initialization of device.name.
-
Martin Schwidefsky authored
- Move iucv bus and root device initialization from netiucv to iucv. - Fix race condition in iucv_connect. - Add 'user' attribute to netiucv driver.
-
Martin Schwidefsky authored
- Add type attribute. - Remove initialization of device.name. - Remove unnecessary include.
-
Martin Schwidefsky authored
- Fix use of tape block request queue pointer. - Remove unnecessary includes.
-
Martin Schwidefsky authored
Fix bug in CMS label recognition in ibm.c
-
Martin Schwidefsky authored
- Do add_disk even for unformatted devices to be able to format them. - Remove initialization of device.name. - Export some functions.
-
Martin Schwidefsky authored
- Make xpram work on 64 bit machines. - Use new-style module_param.
-
Martin Schwidefsky authored
- Use common drivers/block/Kconfig instead of own config options, move s390 block device config options to drivers/s390/block/Kconfig and include it from drivers/block/Kconfig. - Fix configuration combination CONFIG_IPV6=m and CONFIG_QETH=y. - New default configuration.
-
Martin Schwidefsky authored
Make use of sysfs_create_group in s390 device drivers.
-
Martin Schwidefsky authored
Fix restarting of system calls done by use of the execute instruction.
-
Martin Schwidefsky authored
Fix system tick misaccounting problem.
-
Martin Schwidefsky authored
- Put cpu number to lowcore. - Put percpu_offset to lowcore. - Put current pointer to lowcore. - Replace barrier() with cpu_relax().
-
Martin Schwidefsky authored
- Fix emulation of sys_sysinfo and sys_clone. - Add code for -ERESTART_RESTARTBLOCK in signal emulation. - Fix ptrace peek/poke for 31 bit programs under a 64 bit kernel. - Fix typos in cp_stat64.
-
Martin Schwidefsky authored
- Remove initialization of device.name. - Don't do put_device after failed get_device in get_ccwdev_by_busid. - Fix read_dev_chars and read_conf_data. - Call interrupt function of ccw device if path verification has been started. - Replace atomic_return_add by atomic_add_return in qdio. - Use wait_event instead of homegrown wait loop. - Fix reestablish queue problem. - Add ungroup attribute to ccw_group devices and add links from each ccw device of a group to the group device. - Use BUS_ID_SIZE instead of DEVICE_ID_SIZE. - Delay path verification if a basic sense is required. - Move qdio shutdown code from qdio_free to qdio_shutdown.
-
Martin Schwidefsky authored
- Fix cflags for z990 compiles. - Rename resume to __switch_to to avoid name clash. - Fix show_trace and show_stack. - Add alignments to linker script. - Add atomic64_t and related funtions. - Add include/asm-s390/local.h - Fix 31 bit get_user for 8 byte values. - Fix show_regs oops. - Add a couple of might_sleep() calls. - Fix loading of modules with a BIG symbol table. - Fix inline asm constraint in __get_user_asm_1 - Fix nested irq_enter bug on shutdown. - Add sched_clock function.
-
Nick Piggin authored
A while ago some guy complained that his server connections / sec was way down due to AS. The server would fork a process which would then read some tiny bit of random data and hang around for a while doing nothing. This defeated all AS's heuristics, and due to a new process being a good anticipation candidate by default, his performance went bad. The fix was just to treat new processes as being unsuitable for anticipation. Fixed. Unfortunately ls, cat, grep, small programs starting up, find | xargs, etc only submit a couple of requests, and they really want anticipation to be on. This patch keeps a simple goodness value per queue based on how successful anticipation has been for new processes.
-
Nick Piggin authored
Clears the next_arq cache if a request is repositioned and added as an alias behind another. Should fix the BUGs which Mary Edie Meredith has been reporting. Also, fixes a few random (but harmless) cases where last_merge was being set and causing warnings. When 2 requests are merged, and one is thrown away, move its alias list onto the merged request! This is likely to be the cause of Mary's hangs.
-