commit f4ffaa452e71495a06376f12f772342bc57051fc tree c502a9ebd25cd4541241dd384803163703a71946 parent d3d3cf05eda861d807de539cac25bcefee0f9659 parent f18b95c3e2ab0f75b23a5aabab0bc8f99bd6bbf3 author Linus Torvalds Thu, 20 Apr 2006 15:26:25 -0700 committer Linus Torvalds Thu, 20 Apr 2006 15:26:25 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (21 commits) [PATCH] wext: Fix RtNetlink ENCODE security permissions [PATCH] bcm43xx: iw_priv_args names should be <16 characters [PATCH] bcm43xx: sysfs code cleanup [PATCH] bcm43xx: fix pctl slowclock limit calculation [PATCH] bcm43xx: fix dyn tssi2dbm memleak [PATCH] bcm43xx: fix config menu alignment [PATCH] bcm43xx wireless: fix printk format warnings [PATCH] softmac: report when scanning has finished [PATCH] softmac: fix event sending [PATCH] softmac: handle iw_mode properly [PATCH] softmac: dont send out packets while scanning [PATCH] softmac: return -EAGAIN from getscan while scanning [PATCH] bcm43xx: set trans_start on TX to prevent bogus timeouts [PATCH] orinoco: fix truncating commsquality RID with the latest Symbol firmware [PATCH] softmac: fix spinlock recursion on reassoc [PATCH] Revert NET_RADIO Kconfig title change [PATCH] wext: Fix IWENCODEEXT security permissions [PATCH] wireless/atmel: send WEXT scan completion events [PATCH] wireless/airo: clean up WEXT association and scan events [PATCH] softmac uses Wiress Ext. ... commit d3d3cf05eda861d807de539cac25bcefee0f9659 tree 8ea562077369b97700ebe6af02906690a788bf51 parent a6db522c9399f69ff705c8afae069b5a74a8ea6b parent 18bc89aa25fbfcf467f4ce67f76c7b9893404cac author Linus Torvalds Thu, 20 Apr 2006 15:25:37 -0700 committer Linus Torvalds Thu, 20 Apr 2006 15:25:37 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [EBTABLES]: Clean up vmalloc usage in net/bridge/netfilter/ebtables.c [NET]: Add skb->truesize assertion checking. [TCP]: Account skb overhead in tcp_fragment [SUNGEM]: Marvell PHY suspend. [LLC]: Use pskb_trim_rcsum() in llc_fixup_skb(). [NET]: sockfd_lookup_light() returns random error for -EBADFD commit a6db522c9399f69ff705c8afae069b5a74a8ea6b tree b6dee216e76fbebb6fdcb5814630e7b6f8284c34 parent 402a26f0c040077ed6f941eefac5a6971f0d5f40 parent 036999d50180a9eaaa79dfb1d7a940824e475f24 author Linus Torvalds Thu, 20 Apr 2006 15:22:41 -0700 committer Linus Torvalds Thu, 20 Apr 2006 15:22:41 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] for_each_possible_cpu [ARM] add_memory() build fix [ARM] 3483/1: ixp23xx: update defconfig to 2.6.17-rc2 [ARM] 3482/1: ixp2000: update defconfig to 2.6.17-rc2 [ARM] 3481/1: ep93xx: update defconfig to 2.6.17-rc2 [ARM] 3480/1: ixp4xx: fix irq2gpio array type commit f18b95c3e2ab0f75b23a5aabab0bc8f99bd6bbf3 tree 9ff4b7efdb2ca1e83c2a413f06268b268098b3ca parent 17c281ab3e33be63693687d3db7ac9cf2bbdfd66 parent 848ef8555296f25d9226d3bc43ce4028835ed633 author Jeff Garzik Thu, 20 Apr 2006 17:36:10 -0400 committer Jeff Garzik Thu, 20 Apr 2006 17:36:10 -0400 Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 17c281ab3e33be63693687d3db7ac9cf2bbdfd66 tree 00edfbeb44c76461c1bf40dbf79462fc4047ee4f parent 402a26f0c040077ed6f941eefac5a6971f0d5f40 author Sergei Shtylyov Sun, 16 Apr 2006 19:42:35 +0400 committer Jeff Garzik Thu, 20 Apr 2006 17:28:57 -0400 [PATCH] NEx000: fix RTL8019AS base address for RBTX4938 Correct the base address of the Realtek RTL8019AS chip on the Toshiba RBTX4938 board -- this should make the driver work at least when CONFIG_PCI is enabled. Signed-off-by: Yuri Shpilevsky Signed-off-by: Sergei Shtylyov Signed-off-by: Jeff Garzik commit 036999d50180a9eaaa79dfb1d7a940824e475f24 tree e382446383ccbd91a798e22a6291361395aa5404 parent 1c97b73e89af9a20e99450c554cffdd9327e827a author KAMEZAWA Hiroyuki Thu, 20 Apr 2006 21:48:02 +0100 committer Russell King Thu, 20 Apr 2006 21:48:02 +0100 [ARM] for_each_possible_cpu for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 1c97b73e89af9a20e99450c554cffdd9327e827a tree 79578b028a0dd2303e150c55b841f2e32ad1388c parent 4b91ff4f425edb875c8e071d19a2417d23c578a4 author Andrew Morton Thu, 20 Apr 2006 21:41:18 +0100 committer Russell King Thu, 20 Apr 2006 21:41:18 +0100 [ARM] add_memory() build fix This is back again. Offending patch is x86_64-mm-hotadd-reserve.patch arch/arm/kernel/setup.c:435: error: conflicting types for 'add_memory' include/linux/memory_hotplug.h:102: error: previous declaration of 'add_memory' was here arch/arm/kernel/setup.c:435: error: conflicting types for 'add_memory' include/linux/memory_hotplug.h:102: error: previous declaration of 'add_memory' was here Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 4b91ff4f425edb875c8e071d19a2417d23c578a4 tree cf405f53326bf3ddd4f5a80a1e6df3b13c331c3f parent d2f9caa1be9cf3c18f0bfe70ca2f55d295942a9b author Lennert Buytenhek Thu, 20 Apr 2006 21:24:41 +0100 committer Russell King Thu, 20 Apr 2006 21:24:41 +0100 [ARM] 3483/1: ixp23xx: update defconfig to 2.6.17-rc2 Patch from Lennert Buytenhek Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit d2f9caa1be9cf3c18f0bfe70ca2f55d295942a9b tree 94f4d94ac6522b39e41243176381e04723c8d2e9 parent 67c6024cb4c04b4e9122a97e52cf903252020f9f author Lennert Buytenhek Thu, 20 Apr 2006 21:24:40 +0100 committer Russell King Thu, 20 Apr 2006 21:24:40 +0100 [ARM] 3482/1: ixp2000: update defconfig to 2.6.17-rc2 Patch from Lennert Buytenhek Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 67c6024cb4c04b4e9122a97e52cf903252020f9f tree 7fdbc43ad2fc6c05492ae3c57ea988b9d3a9cd80 parent 6cc1b6588686190325a960b5a598f4f952dbe23b author Lennert Buytenhek Thu, 20 Apr 2006 21:24:39 +0100 committer Russell King Thu, 20 Apr 2006 21:24:39 +0100 [ARM] 3481/1: ep93xx: update defconfig to 2.6.17-rc2 Patch from Lennert Buytenhek Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 6cc1b6588686190325a960b5a598f4f952dbe23b tree 4926988a054fb1e00a2b98a63b8d8f4f5de7c04b parent 5a7b46b369419493bab4de67b1526e9f76b22a7f author Lennert Buytenhek Thu, 20 Apr 2006 21:24:38 +0100 committer Russell King Thu, 20 Apr 2006 21:24:38 +0100 [ARM] 3480/1: ixp4xx: fix irq2gpio array type Patch from Lennert Buytenhek The irq2gpio array was recently converted from an array of ints to an array of chars (by patch 3368/1.) However, this array contains elements that are -1, and on ARM, the char type is unsigned by default, so this patch broke the GPIO check in ixp4xx_set_irq_type. Change the 'char' to be a 'signed char' to fix this. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 402a26f0c040077ed6f941eefac5a6971f0d5f40 tree f74e5d732404e9716b3c753007bac0f5d1e92869 parent bf7cf6ee1bd00679bbe93b6ae73f80032759b8df parent 4f73247f0e53be1bd4aa519476e6261a8e4a64ab author Linus Torvalds Thu, 20 Apr 2006 08:17:04 -0700 committer Linus Torvalds Thu, 20 Apr 2006 08:17:04 -0700 Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block * 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] block/elevator.c: remove unused exports [PATCH] splice: fix smaller sized splice reads [PATCH] Don't inherit ->splice_pipe across forks [patch] cleanup: use blk_queue_stopped [PATCH] Document online io scheduler switching commit bf7cf6ee1bd00679bbe93b6ae73f80032759b8df tree 765c7e4ee581badf9e7230025b91ca43172695fd parent 0b699e36b2d43c1b4288992683e5913d347b5b78 parent 2784f40e2774b61d68d232bcf92a9484e99f22b8 author Linus Torvalds Thu, 20 Apr 2006 07:58:58 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:58:58 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC]: __NR_sys_splice --> __NR_splice commit 0b699e36b2d43c1b4288992683e5913d347b5b78 tree 1ed44a6e82f71e596a0a7de75aefbbbdd904534e parent 18bd057b1408cd110ed23281533430cfc2d52091 author Eric Dumazet Thu, 20 Apr 2006 02:36:48 +0200 committer Linus Torvalds Thu, 20 Apr 2006 07:58:11 -0700 [PATCH] x86_64: bring back __read_mostly support to linux-2.6.17-rc2 It seems latest kernel has a wrong/missing __read_mostly implementation for x86_64 __read_mostly macro should be declared outside of #if CONFIG_X86_VSMP block Signed-off-by: Eric Dumazet Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 18bd057b1408cd110ed23281533430cfc2d52091 tree 09d8c44ebdb45763173fe54f6962921f4268cf9f parent 5dc5cf7dd2723430b6df3d91c5b22af49e063622 author Andi Kleen Thu, 20 Apr 2006 02:36:45 +0200 committer Linus Torvalds Thu, 20 Apr 2006 07:58:11 -0700 [PATCH] i386/x86-64: Fix x87 information leak between processes AMD K7/K8 CPUs only save/restore the FOP/FIP/FDP x87 registers in FXSAVE when an exception is pending. This means the value leak through context switches and allow processes to observe some x87 instruction state of other processes. This was actually documented by AMD, but nobody recognized it as being different from Intel before. The fix first adds an optimization: instead of unconditionally calling FNCLEX after each FXSAVE test if ES is pending and skip it when not needed. Then do a x87 load from a kernel variable to clear FOP/FIP/FDP. This means other processes always will only see a constant value defined by the kernel in their FP state. I took some pain to make sure to chose a variable that's already in L1 during context switch to make the overhead of this low. Also alternative() is used to patch away the new code on CPUs who don't need it. Patch for both i386/x86-64. The problem was discovered originally by Jan Beulich. Richard Brunner provided the basic code for the workarounds, with contribution from Jan. This is CVE-2006-1056 Cc: richard.brunner@amd.com Cc: jbeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5dc5cf7dd2723430b6df3d91c5b22af49e063622 tree f0c3575c153a82173e030fbd5a3538b10ece4903 parent 72b38d436e4cd18185de11f4b48a6e62eb104644 author Ingo Molnar Thu, 20 Apr 2006 02:43:23 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] md: locking fix - fix mddev_lock() usage bugs in md_attr_show() and md_attr_store(). [they did not anticipate the possibility of getting a signal] - remove mddev_lock_uninterruptible() [unused] Signed-off-by: Ingo Molnar Acked-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72b38d436e4cd18185de11f4b48a6e62eb104644 tree cbb24dbe93ca265c4161eaa0b24854edcd88a8c5 parent 46539264df5b1fcdc2cad585b032a86661fe079d author Adrian Bunk Thu, 20 Apr 2006 02:43:23 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] memory_hotplug.h cleanup We don't have to #if guard prototypes. This also fixes a bug observed by Randy Dunlap due to a misspelled option in the #if. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46539264df5b1fcdc2cad585b032a86661fe079d tree 6820721cb8d523927a4e56a6498ff8deac095702 parent aafda4e0d0424180023e16f43785f9344ea35719 author Adrian Bunk Thu, 20 Apr 2006 02:43:22 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] make the OSS SOUND_VIA82CXXX option available again There was a report of a regression in the ALSA driver for the same hardware. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aafda4e0d0424180023e16f43785f9344ea35719 tree 371c193ffbb77e9f4dcbf635e7cfd45dae916af9 parent bf104e641c5a6567cc00d4ae9d8510cef9f63b18 author Adrian Bunk Thu, 20 Apr 2006 02:43:21 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] update OBSOLETE_OSS_DRIVER schedule and dependencies Update the schedule for the removal of drivers depending on OBSOLETE_OSS_DRIVER as follows: - adjust OBSOLETE_OSS_DRIVER dependencie - from the release of 2.6.16 till the release of 2.6.17: approx. two months for users to report problems with the ALSA drivers for the same hardware - after the release of 2.6.17 (and before 2.6.18): remove the subset of drivers marked at OBSOLETE_OSS_DRIVER without known regressions in the ALSA drivers for the same hardware Additionally, correct some OBSOLETE_OSS_DRIVER dependencies. A rationale of the changes is in http://lkml.org/lkml/2006/1/28/135 Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf104e641c5a6567cc00d4ae9d8510cef9f63b18 tree 3ba25ecdd877c304a5567661d08ff12031d2d8e1 parent 962f831f67301265dcd2cd96408d07d95d556aed author Arnaud MAZIN Thu, 20 Apr 2006 02:43:20 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] sonypi: correct detection of new ICH7-based laptops Add a test to detect the ICH7 based Core Duo SONY laptops (such as the SZ1) as type3 models. Signed-off-by: Arnaud MAZIN < arnaud.mazin@gmail.com> Acked-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 962f831f67301265dcd2cd96408d07d95d556aed tree 3034e297898c922479b7ad0c4d964d9fb173a50e parent c79cfbaccac0ef81ab3e796da1582a83dcef0ff9 author Jon Masters Thu, 20 Apr 2006 02:43:20 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] sound: fix hang in mpu401_uart.c This fixes a hang in mpu401_uart.c that can occur when the mpu401 interface is non-existent or otherwise doesn't respond to commands but we issue IO anyway. snd_mpu401_uart_cmd now returns an error code that is passed up the stack so that an open() will fail immediately in such cases. Eventually discovered after wine/cxoffice would constantly cause hard lockups on my desktop immediately after loading (emulating Windows too well). Turned out that I'd recently moved my sound cards around and using /dev/sequencer now talks to a sound card with a broken MPU. This second version changes -EFAULT to -EIO and frees open resources on error too. Test booted and seems to work ok. Signed-off-by: Jon Masters Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c79cfbaccac0ef81ab3e796da1582a83dcef0ff9 tree b5b5eaf90c1bc1043073fd1ba76feb99f1232131 parent 7daa0c4f51897d5d956a62a2bac438e3b58d85dc author Jean Delvare Thu, 20 Apr 2006 02:43:18 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] i2c-i801: Fix resume when PEC is used Fix for bug #6395: Fail to resume on Tecra M2 with ADM1032 and Intel 82801DBM The BIOS of the Tecra M2 doesn't like it when it has to reboot or resume after the i2c-i801 driver has left the SMBus in PEC mode. The most simple fix is to clear the PEC bit after after every transaction. That's what this driver was doing up to 2.6.15 (inclusive). Thanks to Daniele Gaffuri for the very good report. Signed-off-by: Jean Delvare Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7daa0c4f51897d5d956a62a2bac438e3b58d85dc tree e11615c35d204c48552e68c5431351277b8ee024 parent 68876baf5e713ef711b6e19a279385e14c9921e3 author Johannes Goecke Thu, 20 Apr 2006 02:43:17 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] MSI-K8T-Neo2-Fir OnboardSound and additional Soundcard On the MSI-K8T-NEO2 FIR ( Athlon-64, Socket 939 with VIA-K8T800- Chipset and onboard Sound,... ) the BIOS lets you choose "DISABLED" or "AUTO" for the On-Board Sound Device. If you add another PCI-Sound-Card the BIOS disables the on-board device. So far I have a Quirk, that does set the correspondent BIT in the PCI-registers to enable the soundcard. But how to ensure that the code is executed ONLY on excactly this kind of boards (not any other with similar Chipset)? Cc: Jaroslav Kysela Acked-by: Takashi Iwai Cc: Lee Revell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68876baf5e713ef711b6e19a279385e14c9921e3 tree 917b443aa4d144598579fadbcc4157c1fc5a0c6d parent 0324680064fd89d6ad52e89a4ccf16dec3ea3caa author Chris Zankel Thu, 20 Apr 2006 02:43:15 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] xtensa: Fix TIOCGICOUNT macro Remove the dependence on the async_icount structure in the TIOCGICOUNT macro for Xtensa. (Thanks Russell and Adrian for pointing this out) Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0324680064fd89d6ad52e89a4ccf16dec3ea3caa tree 7e487031a015ed54e3c422901b17bab671935f68 parent c16c556e0e460a4e8c3f97ea0d50a1217f7fa449 author Thayumanavar Sachithanantham Thu, 20 Apr 2006 02:43:15 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] cs5535_gpio.c: call cdev_del() during module_exit to unmap kobject references and other cleanups During module unloading, cdev_del() must be called to unmap cdev related kobject references and other cleanups(such as inode->i_cdev being set to NULL) which prevents the OOPS upon subsequent loading, usage and unloading of modules(as seen in the mail thread http://marc.theaimsgroup.com/?l=linux-kernel&m=114533640609018&w=2). Also, remove unneeded test of gpio_base. Signed-off-by: Thayumanavar Sachithanantham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c16c556e0e460a4e8c3f97ea0d50a1217f7fa449 tree c927fbce2d9dd66440ea744682ac364b6de7fd89 parent 6d472be37896b1c41b50f3da124f8b7718ba7797 author Darren Jenkins Thu, 20 Apr 2006 02:43:13 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] fix section mismatch in pm2fb.o WARNING: drivers/video/pm2fb.o - Section mismatch: reference to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd5d) WARNING: drivers/video/pm2fb.o - Section mismatch: reference to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd82) They are caused because pm2fb_set_par() uses lowhsync and lowvsync which are marked __devinitdata. Signed-off-by: Darren Jenkins Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d472be37896b1c41b50f3da124f8b7718ba7797 tree c01adec9db3c85b48e337189b4fdc1f7e6f23733 parent 4409ebe9afabe7db77eaaae9eb3eb05b8315ce4a author Christoph Lameter Thu, 20 Apr 2006 02:43:12 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] Remove cond_resched in gather_stats() gather_stats() is called with a spinlock held from check_pte_range. We cannot reschedule with a lock held. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4409ebe9afabe7db77eaaae9eb3eb05b8315ce4a tree 2e121835a2b38ed3a5fa4077dd79b3a971514db8 parent 7522a8423bed9931cbac5502b9c0657bde2700ea author Corey Minyard Thu, 20 Apr 2006 02:43:12 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] IPMI maintainer Add myself as the IPMI maintainer. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7522a8423bed9931cbac5502b9c0657bde2700ea tree 8729269696269cba4ca477d711490a6c89c20cda parent 5a7b46b369419493bab4de67b1526e9f76b22a7f author Ananth N Mavinakayanahalli Thu, 20 Apr 2006 02:43:11 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] kprobes: NULL out non-relevant fields in struct kretprobe In cases where a struct kretprobe's *_handler fields are non-NULL, it is possible to cause a system crash, due to the possibility of calls ending up in zombie functions. Documentation clearly states that unused *_handlers should be set to NULL, but kprobe users sometimes fail to do so. Fix it by setting the non-relevant fields of the struct kretprobe to NULL. Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Jim Keniston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f73247f0e53be1bd4aa519476e6261a8e4a64ab tree 31122fbaffb3761e1c47124de2bbb9b652562c44 parent 82aa5d6183667aa2a5f3c61e390934b0273d2ad7 author Adrian Bunk Thu, 20 Apr 2006 15:45:22 +0200 committer Jens Axboe Thu, 20 Apr 2006 15:45:22 +0200 [PATCH] block/elevator.c: remove unused exports This patch removes the following unused EXPORT_SYMBOL's: - elv_requeue_request - elv_completed_request They are only used by the block core, hence they need not be exported. Signed-off-by: Adrian Bunk Signed-off-by: Jens Axboe commit 82aa5d6183667aa2a5f3c61e390934b0273d2ad7 tree 81fa617b8a970173cc7114acf1acc0e676caa1c5 parent a0aa7f68afeeb92f6274b395177c20e617c8ed2d author Jens Axboe Thu, 20 Apr 2006 13:05:48 +0200 committer Jens Axboe Thu, 20 Apr 2006 13:05:48 +0200 [PATCH] splice: fix smaller sized splice reads Signed-off-by: Jens Axboe commit a0aa7f68afeeb92f6274b395177c20e617c8ed2d tree 6750a82e5799dd2fe9cd8eb8320a98107f0f5d05 parent 7daac4902053045450fa29db42aba19a4581f850 author Jens Axboe Thu, 20 Apr 2006 13:05:33 +0200 committer Jens Axboe Thu, 20 Apr 2006 13:05:33 +0200 [PATCH] Don't inherit ->splice_pipe across forks It's really task private, so clear that field on fork after copying task structure. Signed-off-by: Jens Axboe commit 7daac4902053045450fa29db42aba19a4581f850 tree d3e71ef1e7a399f9677da76cf24cc3b1dc232572 parent 73af994c7d58dd513922dc9d5cd76b124ec02b1b author Coywolf Qi Hunt Wed, 19 Apr 2006 10:14:49 +0200 committer Jens Axboe Thu, 20 Apr 2006 13:04:36 +0200 [patch] cleanup: use blk_queue_stopped This cleanup the source to use blk_queue_stopped. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Jens Axboe commit 73af994c7d58dd513922dc9d5cd76b124ec02b1b tree 793dfd57372a73a5c4b1e7c8b9f33a04fc08b61e parent 5a7b46b369419493bab4de67b1526e9f76b22a7f author Valdis Kletnieks Wed, 19 Apr 2006 09:23:09 +0200 committer Jens Axboe Thu, 20 Apr 2006 13:04:36 +0200 [PATCH] Document online io scheduler switching We added the ability to change a block device's IO elevator scheduler both at kernel boot and on-the-fly, but we only documented the elevator= boot parameter. Add a quick how-to on doing it on the fly. Signed-off-by: Valdis Kletnieks Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe commit 18bc89aa25fbfcf467f4ce67f76c7b9893404cac tree aa11b287484cddd932df71ca18da90d54239da93 parent dc6de33674608f978ec29f5c2f7e3af458c06f78 author Jayachandran C Thu, 20 Apr 2006 00:14:49 -0700 committer David S. Miller Thu, 20 Apr 2006 00:14:49 -0700 [EBTABLES]: Clean up vmalloc usage in net/bridge/netfilter/ebtables.c Make all the vmalloc calls in net/bridge/netfilter/ebtables.c follow the standard convention. Remove unnecessary casts, and use '*object' instead of 'type'. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit dc6de33674608f978ec29f5c2f7e3af458c06f78 tree 1b314717cdb27cf75478c13f85249f85f6997f48 parent b60b49ea6a3e1f8dcaf4148dad0daab61ab766d2 author David S. Miller Thu, 20 Apr 2006 00:10:50 -0700 committer David S. Miller Thu, 20 Apr 2006 00:10:50 -0700 [NET]: Add skb->truesize assertion checking. Add some sanity checking. truesize should be at least sizeof(struct sk_buff) plus the current packet length. If not, then truesize is seriously mangled and deserves a kernel log message. Currently we'll do the check for release of stream socket buffers. But we can add checks to more spots over time. Incorporating ideas from Herbert Xu. Signed-off-by: David S. Miller commit b60b49ea6a3e1f8dcaf4148dad0daab61ab766d2 tree 83a18b5188d632692da34f9ed8265fcecb4d9f35 parent d47f3640fe2ac4da8a8e713a549e6eaf23ac2084 author Herbert Xu Wed, 19 Apr 2006 21:35:00 -0700 committer David S. Miller Wed, 19 Apr 2006 21:35:00 -0700 [TCP]: Account skb overhead in tcp_fragment Make sure that we get the full sizeof(struct sk_buff) plus the data size accounted for in skb->truesize. This will create invariants that will allow adding assertion checks on skb->truesize. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 5a7b46b369419493bab4de67b1526e9f76b22a7f tree c6c25e52dfd063db53db93d756da77ab67550ec6 parent 52824b6b5fa0533e2b2adc9df396d0e9ff6fb02a author OGAWA Hirofumi Thu, 20 Apr 2006 06:41:39 +0900 committer Linus Torvalds Wed, 19 Apr 2006 16:27:18 -0700 [PATCH] Add more prevent_tail_call() Those also break userland regs like following. 00000000 : 0: 0f b7 44 24 0c movzwl 0xc(%esp),%eax 5: 83 ca ff or $0xffffffff,%edx 8: 0f b7 4c 24 08 movzwl 0x8(%esp),%ecx d: 66 83 f8 ff cmp $0xffffffff,%ax 11: 0f 44 c2 cmove %edx,%eax 14: 66 83 f9 ff cmp $0xffffffff,%cx 18: 0f 45 d1 cmovne %ecx,%edx 1b: 89 44 24 0c mov %eax,0xc(%esp) 1f: 89 54 24 08 mov %edx,0x8(%esp) 23: e9 fc ff ff ff jmp 24 where the tailcall at the end overwrites the incoming stack-frame. Signed-off-by: OGAWA Hirofumi [ I would _really_ like to have a way to tell gcc about calling conventions. The "prevent_tail_call()" macro is pretty ugly ] Signed-off-by: Linus Torvalds commit d47f3640fe2ac4da8a8e713a549e6eaf23ac2084 tree b51d1a6c2a000f7bb61b0d5bbe2ef8b0b3ac467e parent 5185db09f46ed64d520d09db6e93852e44106628 author Johannes Berg Wed, 19 Apr 2006 15:42:28 -0700 committer David S. Miller Wed, 19 Apr 2006 15:42:28 -0700 [SUNGEM]: Marvell PHY suspend. In a short discussion with Benjamin Herrenschmidt he mentioned that Marvell PHYs are powered down the same way as the other ones we currently handle. Thus actually do that, hopefully saving some power during suspend. Signed-off-by: Johannes Berg Acked-by: Benjamin Herrenschmidt Signed-off-by: David S. Miller commit 5185db09f46ed64d520d09db6e93852e44106628 tree 13d888ea59a80aafa593015f88feb4245288055c parent 3672558c6180ca28a7aa46765702467a37e58fc5 author David S. Miller Wed, 19 Apr 2006 15:37:13 -0700 committer David S. Miller Wed, 19 Apr 2006 15:37:13 -0700 [LLC]: Use pskb_trim_rcsum() in llc_fixup_skb(). Kernel Bugzilla #6409 If we use plain skb_trim(), that's wrong, because if the SKB is cloned, and it can be because we unshared it in the caller, we have to allow reallocation. The pskb_trim*() family of routines is therefore the most appropriate here. Signed-off-by: David S. Miller commit 3672558c6180ca28a7aa46765702467a37e58fc5 tree 1529de37f6139fff32de963423178c42ec6c1629 parent 52824b6b5fa0533e2b2adc9df396d0e9ff6fb02a author Hua Zhong Wed, 19 Apr 2006 15:25:02 -0700 committer David S. Miller Wed, 19 Apr 2006 15:25:02 -0700 [NET]: sockfd_lookup_light() returns random error for -EBADFD This applies to 2.6.17-rc2. There is a missing initialization of err in sockfd_lookup_light() that could return random error for an invalid file handle. Signed-off-by: Hua Zhong Signed-off-by: David S. Miller commit 2784f40e2774b61d68d232bcf92a9484e99f22b8 tree de58cdd0ba836356584dd15179ffc1f1bb2bc874 parent 52824b6b5fa0533e2b2adc9df396d0e9ff6fb02a author David S. Miller Wed, 19 Apr 2006 15:00:01 -0700 committer David S. Miller Wed, 19 Apr 2006 15:00:01 -0700 [SPARC]: __NR_sys_splice --> __NR_splice Signed-off-by: David S. Miller commit 848ef8555296f25d9226d3bc43ce4028835ed633 tree 3db10d298e8c4cfe005b719552ac378685ab5c1a parent a392149ee14d1631d8632060c1fc3082729f83c8 author Jean Tourrilhes Fri, 14 Apr 2006 10:47:26 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:41 -0400 [PATCH] wext: Fix RtNetlink ENCODE security permissions I've just realised that the RtNetlink code does not check the permission for SIOCGIWENCODE and SIOCGIWENCODEEXT, which means that any user can read the encryption keys. The fix is trivial and should go in 2.6.17 alonside the two other patch I sent you last week. Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit a392149ee14d1631d8632060c1fc3082729f83c8 tree 48d4e3a63e33b74f91c279d01cebaf36b7658a8c parent b35d649cb2110b4e782a8a7e9b625432c863cade author Erik Mouw Thu, 13 Apr 2006 15:02:27 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:41 -0400 [PATCH] bcm43xx: iw_priv_args names should be <16 characters The room for the names in bcm43xx_priv_wx_args[] are IFNAMSIZ long and IFNAMSIZ is defined as 16, so the names in bcm43xx_priv_wx_args should be 15 characters (16 including the trailing \0). This patch fixes that for the "set_shortpreambl", "get_shortpreambl", "set_swencryption", and "get_swencryption" private calls. Patch is against 2.6.17-rc1. Signed-off-by: Erik Mouw Signed-off-by: John W. Linville commit b35d649cb2110b4e782a8a7e9b625432c863cade tree 44a22b588be3af2182a435277cecef078bcb6210 parent 8829d55e6b4957770de3f716bafab65ca3680110 author Michael Buesch Thu, 13 Apr 2006 02:32:58 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:41 -0400 [PATCH] bcm43xx: sysfs code cleanup This cleans up the bcm43xx sysfs code and makes it compliant with the unwritten sysfs rules (at least I hope so). Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 8829d55e6b4957770de3f716bafab65ca3680110 tree 4b8609f4c3c6acef23825ee65ce01d1087171dae parent 2230daa0fd50bf82303fd8da96b088310851d803 author Michael Buesch Thu, 13 Apr 2006 02:30:26 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] bcm43xx: fix pctl slowclock limit calculation This fixes coverity bug: http://marc.theaimsgroup.com/?l=linux-netdev&m=114417628413880&w=2 Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 2230daa0fd50bf82303fd8da96b088310851d803 tree 48496c9d1316251c99c31731c5ba0e88c8fcb1ba parent 93fef7dda4002ac8b21a4a2090ca475dc40cc384 author Adrian Bunk Thu, 13 Apr 2006 02:27:49 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] bcm43xx: fix dyn tssi2dbm memleak This patch fixes a memory leak spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 93fef7dda4002ac8b21a4a2090ca475dc40cc384 tree 69a05ef81c816d90ed20843ee7ed5850447f96c2 parent 4c6f749f74323518825476e3e5ca3b4f03c07873 author Randy Dunlap Tue, 11 Apr 2006 14:32:53 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] bcm43xx: fix config menu alignment Use "depends on" to make all bcm43xx driver options be listed at the same level. Signed-off-by: Randy Dunlap Signed-off-by: John W. Linville commit 4c6f749f74323518825476e3e5ca3b4f03c07873 tree 191700b8f37de1b7c11576abed9a6391e735a9f1 parent 6788a07f8faeb373967cd97b79fb3abec8fccb90 author Randy Dunlap Tue, 11 Apr 2006 14:31:56 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] bcm43xx wireless: fix printk format warnings Fix printk format warnings: drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:456: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘size_t’ drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:460: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘size_t’ drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:476: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘size_t’ drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:480: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘size_t’ drivers/net/wireless/bcm43xx/bcm43xx_dma.c:200: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘dma_addr_t’ drivers/net/wireless/bcm43xx/bcm43xx_dma.c:311: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘dma_addr_t’ drivers/net/wireless/bcm43xx/bcm43xx_dma.c:733: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘dma_addr_t’ Signed-off-by: Randy Dunlap Signed-off-by: John W. Linville commit 6788a07f8faeb373967cd97b79fb3abec8fccb90 tree 9abda33b4abcaf882265deab59a1b9d73ae252f2 parent feeeaa87e8e6702f57ed3be7904ffd87cc044b82 author Johannes Berg Thu, 13 Apr 2006 11:41:28 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] softmac: report when scanning has finished Make softmac report a scan event when scanning has finished, that way userspace can wait for the event to happen instead of polling for the results. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit feeeaa87e8e6702f57ed3be7904ffd87cc044b82 tree 658f8410a8a1777aecbf3bef8e3e8f7a7f677e69 parent 68970ce6ac5ed01b1d10047fd4daba5b40786694 author Johannes Berg Thu, 13 Apr 2006 02:42:42 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] softmac: fix event sending Softmac is sending custom events to userspace already, but it should _really_ be sending the right WEXT events instead. This patch fixes that. Signed-off-by: Dan Williams Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit 68970ce6ac5ed01b1d10047fd4daba5b40786694 tree 0b84bebdf516fb696c1112ff7368fe81adee56c8 parent fc242746ea8d87b3032c7a1c9b8eb71c149488a8 author johannes@sipsolutions.net Tue, 11 Apr 2006 10:58:08 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] softmac: handle iw_mode properly Below patch allows using iw_mode auto with softmac. bcm43xx forces managed so this bug wasn't noticed earlier, but this was one of the problems why zd1211 didn't work earlier. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit fc242746ea8d87b3032c7a1c9b8eb71c149488a8 tree 1650fc1a84e3b454d1bd6cdf6ceffe17d08ea370 parent ba2f8c18756b4a99c8cd3ab6526b2ed7a8f18ead author johannes@sipsolutions.net Tue, 11 Apr 2006 10:58:07 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] softmac: dont send out packets while scanning Seems we forgot to stop the queue while scanning. Better do that so we don't transmit packets all the time during background scanning. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit ba2f8c18756b4a99c8cd3ab6526b2ed7a8f18ead tree 2ff973272099f0fed9214b9d47f968caee0015c1 parent b79367a5ea28afe2ac659593970c15c9513f1d49 author johannes@sipsolutions.net Tue, 11 Apr 2006 10:58:06 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] softmac: return -EAGAIN from getscan while scanning Below patch was developed after discussion with Daniel Drake who mentioned to me that wireless tools expect an EAGAIN return from getscan so that they can wait for the scan to finish before printing out the results. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit b79367a5ea28afe2ac659593970c15c9513f1d49 tree 5f145498430446ec874d8d660e119f61588ba9f3 parent a208c4e1ea7a769042be071ae30ba2ad4c844954 author Michael Buesch Mon, 10 Apr 2006 02:39:54 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] bcm43xx: set trans_start on TX to prevent bogus timeouts Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit a208c4e1ea7a769042be071ae30ba2ad4c844954 tree 976f07cb42b8a1196a5f0aea8f72b4bec1066900 parent 9b0b4d8ae82cadd059d01ab93babcaa5e2054b93 author Pavel Roskin Fri, 07 Apr 2006 04:10:26 -0400 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] orinoco: fix truncating commsquality RID with the latest Symbol firmware Symbol firmware F3.91-71 has an additional word in the commsquality RID. Extend the receiving buffer by one word to accomodate it. Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville commit 9b0b4d8ae82cadd059d01ab93babcaa5e2054b93 tree 065d53b0c271a49660e356e39c94fbda218e1149 parent c1783454a31e05b94774951b0b5d1eb9075ebfb4 author Michael Buesch Fri, 07 Apr 2006 01:42:55 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] softmac: fix spinlock recursion on reassoc This fixes a spinlock recursion on receiving a reassoc request. On reassoc, the softmac calls back into the driver. This results in a driver lock recursion. This schedules the assoc workqueue, instead of calling it directly. Probably, we should defer the _whole_ management frame processing to a tasklet or workqueue, because it does several callbacks into the driver. That is dangerous. This fix should go into linus's tree, before 2.6.17 is released, because it is remote exploitable (DoS by crash). Signed-off-by: John W. Linville commit c1783454a31e05b94774951b0b5d1eb9075ebfb4 tree 80cddabf81bae411b69f702607e416899c4f279c parent a417016d1a07e6df0621dbb2926da82642eca823 author Jean Tourrilhes Tue, 04 Apr 2006 15:59:46 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] Revert NET_RADIO Kconfig title change 2.6.17-rc1 changed the title for the entry CONFIG_NET_RADIO. I personally disagree with this change and want it reverted. Patch for 2.6.17-rc1. Rationale : WIRELESS_EXT is an invisible option. Therefore, the only way for a user to enable it is via NET_RADIO. Some users need to do that for out-of-tree drivers. Therefore it should be mentionned in the title of the option. Rationale2 : the option just below is called "Wireless Extension API over RtNetlink". Some users may confuse this option for the main "Wireless Extension" option. Therefore reverting this change help disambiguate the relation between those two options. Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit a417016d1a07e6df0621dbb2926da82642eca823 tree 96384d34c27abae25f37b5b15b03e327b4a1a796 parent 3a1af6ffe4941497071125d3a8bb3e1feee45df1 author Jean Tourrilhes Tue, 04 Apr 2006 15:53:43 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] wext: Fix IWENCODEEXT security permissions Check the permissions when user-space try to read the encryption parameters via SIOCGIWENCODEEXT. This is trivial and probably should go in 2.6.17... Bug was found by Brian Eaton , thanks ! Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit 3a1af6ffe4941497071125d3a8bb3e1feee45df1 tree 7112414cf849c2fe80700ad766428369ff0cb95a parent 6fcdf565ffb8c661749372115d28efdbe525aeba author Dan Williams Fri, 31 Mar 2006 15:13:31 -0500 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] wireless/atmel: send WEXT scan completion events Send scan completion events to user space when a scan completes. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 6fcdf565ffb8c661749372115d28efdbe525aeba tree 2fa6f7e10717dd4dd3b4a65e08599455bf9857dc parent e4b5fae8b3fb4134deaa6f66c60255c831e2d7e8 author Dan Williams Fri, 31 Mar 2006 15:08:46 -0500 committer John W. Linville Wed, 19 Apr 2006 17:25:37 -0400 [PATCH] wireless/airo: clean up WEXT association and scan events Airo firmware versions >= 5.30.17 send re-association events to the driver that are currently unrecognized, causing spurious disassociation events to be sent to user space. Loss of sync due to scan requests also results in disassociation events sent to user space. This patch traps those two events; suppressing sync-loss on scan, and sending the correct association event on re-association notifications. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit e4b5fae8b3fb4134deaa6f66c60255c831e2d7e8 tree b994c6a9942ecde440256e116eb2a7da07c052f5 parent 0efd9323f32c137b5cf48bc6582cd08556e7cdfc author Randy Dunlap Mon, 27 Mar 2006 14:53:41 -0800 committer John W. Linville Wed, 19 Apr 2006 17:25:37 -0400 [PATCH] softmac uses Wiress Ext. softmac uses wireless extensions, so let it SELECT that config option; WARNING: "wireless_send_event" [net/ieee80211/softmac/ieee80211softmac.ko] undefined! Signed-off-by: Randy Dunlap Signed-off-by: John W. Linville commit 52824b6b5fa0533e2b2adc9df396d0e9ff6fb02a tree 86b588fcd75715ed578f92c0abb3149d6cf617b5 parent 949b211235cf301790ef4fb903af65d71be29b2a parent 415dcd95b25b59631656f559570d1a973bf691a9 author Linus Torvalds Wed, 19 Apr 2006 11:52:30 -0700 committer Linus Torvalds Wed, 19 Apr 2006 11:52:30 -0700 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: IB/mthca: make a function static IB/ipath: Fix whitespace IB/ipath: Make more names static IB/mad: Fix RMPP version check during agent registration IB/srp: Remove request from list when SCSI abort succeeds commit 415dcd95b25b59631656f559570d1a973bf691a9 tree 1019e737207ecf1bd69dbcbef1e6e655dda83d2d parent 5494c22ba293a37534591d793f73e445a66196b5 author Adrian Bunk Wed, 19 Apr 2006 00:15:35 +0200 committer Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 IB/mthca: make a function static This patch makes the needlessly global mthca_update_rate() static. Signed-off-by: Adrian Bunk Signed-off-by: Roland Dreier commit 5494c22ba293a37534591d793f73e445a66196b5 tree 6e3d5d25eed0ac80a32e85a834012ea6dde6d3d3 parent ac2ae4c9770de9450a8e881082a54bbb6f09534e author Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 committer Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 IB/ipath: Fix whitespace Signed-off-by: Roland Dreier commit ac2ae4c9770de9450a8e881082a54bbb6f09534e tree af8c250aa16dd78b1dc6accf29dbc4fdf2af0900 parent 64cb9c6aff273b1cd449e773c937378d68233f8b author Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 committer Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 IB/ipath: Make more names static Make symbols that are only used in a single source file static. Signed-off-by: Roland Dreier commit 64cb9c6aff273b1cd449e773c937378d68233f8b tree a39978e7cbc58de3edda228c95ca328ced510435 parent f80887d0b9e1af481dc4a30fc145dfed24ddfd59 author Hal Rosenstock Wed, 12 Apr 2006 21:29:10 -0400 committer Roland Dreier Wed, 19 Apr 2006 11:40:11 -0700 IB/mad: Fix RMPP version check during agent registration Only check that RMPP version is not specified when MAD class does not support RMPP. Just because a class is allowed to use RMPP doesn't mean that rmpp_version needs to be set for the MAD agent to register. Checking this was a recent change which was too pedantic. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit f80887d0b9e1af481dc4a30fc145dfed24ddfd59 tree a928a8469193981b7df4df4db8c16baa44da4fd8 parent 0efd9323f32c137b5cf48bc6582cd08556e7cdfc author Roland Dreier Wed, 19 Apr 2006 11:40:10 -0700 committer Roland Dreier Wed, 19 Apr 2006 11:40:10 -0700 IB/srp: Remove request from list when SCSI abort succeeds If a SCSI abort succeeds, then the aborted request should to be removed from the list of pending requests. This fixes list corruption after an abort occurs. Signed-off-by: Roland Dreier commit 949b211235cf301790ef4fb903af65d71be29b2a tree 083f7e30e4d48d3c812cef1c8b585522df086c3c parent 0efd9323f32c137b5cf48bc6582cd08556e7cdfc parent a5f9145bc9c340bda743ad51e09bdea60fa3ddfa author Linus Torvalds Wed, 19 Apr 2006 10:46:59 -0700 committer Linus Torvalds Wed, 19 Apr 2006 10:46:59 -0700 Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 * git://git.linux-nfs.org/pub/linux/nfs-2.6: SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c NFS: remove needless check in nfs_opendir() NFS: nfs_show_stats; for_each_possible_cpu(), not NR_CPUS NFS: make 2 functions static NFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unset NFS: fix PROC_FS=n compile error VFS: Fix another open intent Oops RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc commit a5f9145bc9c340bda743ad51e09bdea60fa3ddfa tree 615c72a264de7a25ac51ce0cbd4d7b4c24c9a90b parent 7451c4f0ee53e36fd74168af8df75b28fd04a2aa author Eric Sesterhenn Wed, 19 Apr 2006 13:06:49 -0400 committer Trond Myklebust Wed, 19 Apr 2006 13:06:49 -0400 SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c Hi, the coverity checker spotted that cred is always NULL when we jump to out_err ( there is just one case, when we fail to allocate the memory for cred ) This is Coverity ID #79 Signed-off-by: Eric Sesterhenn Signed-off-by: Trond Myklebust commit 7451c4f0ee53e36fd74168af8df75b28fd04a2aa tree d981de4189c559d8e0a9f291c9919dde396c9a04 parent b9d9506d944865876e67281a4e4269d823ce5381 author Carsten Otte Wed, 19 Apr 2006 13:06:37 -0400 committer Trond Myklebust Wed, 19 Apr 2006 13:06:37 -0400 NFS: remove needless check in nfs_opendir() Local variable res was initialized to 0 - no check needed here. Signed-off-by: Carsten Otte Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit b9d9506d944865876e67281a4e4269d823ce5381 tree 344e12dab9854855fad1388e2aaecbf33eb566c1 parent ec535ce154f2eaad3d97f2f20a76a6d8bdac33e5 author John Hawkes Wed, 19 Apr 2006 13:06:20 -0400 committer Trond Myklebust Wed, 19 Apr 2006 13:06:20 -0400 NFS: nfs_show_stats; for_each_possible_cpu(), not NR_CPUS Convert a for-loop that explicitly references "NR_CPUS" into the potentially more efficient for_each_possible_cpu() construct. Signed-off-by: John Hawkes Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit ec535ce154f2eaad3d97f2f20a76a6d8bdac33e5 tree e7a6b3c77051057e963c276b4f9f66d8a0d2c51a parent e99170ff3b799a9fd43d538932a9231fac1de9d4 author Adrian Bunk Tue, 18 Apr 2006 13:21:50 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:47 -0400 NFS: make 2 functions static Signed-off-by: Adrian Bunk Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit e99170ff3b799a9fd43d538932a9231fac1de9d4 tree b5926023a010c4f8b3993ff6d06cfd51a9462613 parent 7866babad542bb5e1dc95deb5800b577abef58dd author Trond Myklebust Tue, 18 Apr 2006 13:21:42 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:47 -0400 NFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unset Signed-off-by: Trond Myklebust commit 7866babad542bb5e1dc95deb5800b577abef58dd tree 01d8cca76bfcc7b60262adbbbe871b16c32064d5 parent 95cf959b245832ad49bb333bf88f9805244b225d author Adrian Bunk Tue, 18 Apr 2006 13:14:13 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:46 -0400 NFS: fix PROC_FS=n compile error fs/built-in.o: In function `nfs_show_stats':inode.c:(.text+0x15481a): undefined reference to `rpc_print_iostats' net/built-in.o: In function `rpc_destroy_client': undefined reference to `rpc_free_iostats' net/built-in.o: In function `rpc_clone_client': undefined reference to `rpc_alloc_iostats' net/built-in.o: In function `rpc_new_client': undefined reference to `rpc_alloc_iostats' net/built-in.o: In function `xprt_release': undefined reference to `rpc_count_iostats' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Adrian Bunk Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit 95cf959b245832ad49bb333bf88f9805244b225d tree 956205e6be9f70d39124faa464111c2a821f75e4 parent d4a30e7e66c004da26dfe5229af7c10fe9853a7a author Trond Myklebust Tue, 18 Apr 2006 13:14:06 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:46 -0400 VFS: Fix another open intent Oops If the call to nfs_intent_set_file() fails to open a file in nfs4_proc_create(), we should return an error. Signed-off-by: Trond Myklebust commit d4a30e7e66c004da26dfe5229af7c10fe9853a7a tree 87f23ec83c3069a5562e73f883d1367d2f37ba51 parent 8bbde0e6d52265158ee9625f383500c1a7d09ba9 author J. Bruce Fields Tue, 18 Apr 2006 13:14:02 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:46 -0400 RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc I was sloppy when generating a previous patch; I modified the callers of krb5_make_checksum() to allocate memory for the buffer where the result is returned, then forgot to modify krb5_make_checksum to stop allocating that memory itself. The result is a per-packet memory leak. This fixes the problem by removing the now-superfluous kmalloc(). Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 0efd9323f32c137b5cf48bc6582cd08556e7cdfc tree 4e0fe5e78677c2ae56f6bd084b327e707b07c58b parent 6a2a88668e90cd2459d0493e3e3ff17c3557febc parent 9e0267c26e237f84f608a68e579bf4eb89dad819 author Linus Torvalds Wed, 19 Apr 2006 09:25:52 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:25:52 -0700 Merge branch 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block * 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] splice: fixup writeout path after ->map changes [PATCH] splice: offset fixes [PATCH] tee: link_pipe() must be careful when dropping one of the pipe locks [PATCH] splice: cleanup the SPLICE_F_NONBLOCK handling [PATCH] splice: close i_size truncate races on read commit 6a2a88668e90cd2459d0493e3e3ff17c3557febc tree f2a2b2426312541731082b8c6915e80727337a27 parent a61bdaad6c696e850d8fa412f1f201cbca51ad30 author Antonino A. Daplas Tue, 18 Apr 2006 22:22:12 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:54 -0700 [PATCH] fbdev: Fix return error of fb_write Fix return code of fb_write(): If at least 1 byte was transferred to the device, return number of bytes, otherwise: - return -EFBIG - if file offset is past the maximum allowable offset or size is greater than framebuffer length - return -ENOSPC - if size is greater than framebuffer length - offset Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a61bdaad6c696e850d8fa412f1f201cbca51ad30 tree 724ff12471d4aa912a1164525a1631e3401c2038 parent 246846fc18ba43c4f31d6e5b208fe6b045d9f7b1 author Randy Dunlap Tue, 18 Apr 2006 22:22:11 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:54 -0700 [PATCH] savagefb: fix section mismatch warnings Fix modpost section mismatch warnings in savagefb driver: WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .exit.text after 'savagefb_remove' (at offset 0x66) WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .exit.text after 'savagefb_remove' (at offset 0x6e) WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .text.savagefb_resume after 'savagefb_resume' (at offset 0x70) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 246846fc18ba43c4f31d6e5b208fe6b045d9f7b1 tree 295831723ccfc6854659051d24b6c9fb17f96ee3 parent 3e42f0b19e94b3e84043088b5367dd0f3c487921 author Randy Dunlap Tue, 18 Apr 2006 22:22:10 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:54 -0700 [PATCH] radeonfb section mismatches Marking radeon_pci_register() as __devinit clears up all section mismatch warnings that are caused by radeon_pci_register() calling various __devinit function. Is there some reason not to do this? WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text: from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x628) WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text: from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x6b5) WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text: from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x6bd) WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text:radeon_probe_screens from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x7d6) WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text:radeon_check_modes from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x7e5) Signed-off-by: Randy Dunlap Cc: "Antonino A. Daplas" Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e42f0b19e94b3e84043088b5367dd0f3c487921 tree 8aabc1742faf129df17fb7e84e6abc998733884b parent 0d8a95efd878920e7f791d5bcfb9b70f107aadda author Jean Delvare Tue, 18 Apr 2006 22:22:09 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:54 -0700 [PATCH] fb: Fix section mismatch in savagefb Fix the following section mismatch: WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.data: from .text.savagefb_probe after 'savagefb_probe' (at offset 0x5e2) Signed-off-by: Jean Delvare Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d8a95efd878920e7f791d5bcfb9b70f107aadda tree d5980df26e0892c5bbe9398ab388863086748793 parent d3a7b202995421631f486313aacf9ab2ad48b2c8 author KAI.HSU Tue, 18 Apr 2006 22:22:08 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] alim15x3: ULI M-1573 south Bridge support From http://bugzilla.kernel.org/show_bug.cgi?id=6358 The alim15x3.c havn't been update for 3 years. Recently when we use this "ULI M1573" south bridge chip found that can't mount CDROM(VCD) smoothly, must waiting for a long time. After I check the "ULI M1573" south bridge datasheet, I found the reason. The reason is the "ULI M1573" version in the Linux is "0xC7" not "0xC4" anymore So I was modified the source than it was successed. Cc: Bartlomiej Zolnierkiewicz Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3a7b202995421631f486313aacf9ab2ad48b2c8 tree 859f68dcc71d986ba2a9c92dacafab9eed9fae58 parent 6e89280184e4990f5ea80d2504af89b6099523c4 author Adrian Bunk Tue, 18 Apr 2006 22:22:07 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] remove the obsolete IDEPCI_FLAG_FORCE_PDC Noted by Sergei Shtylylov Signed-off-by: Adrian Bunk Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e89280184e4990f5ea80d2504af89b6099523c4 tree 4424622d6a4d8de1ff6492ee23f03cf42d685098 parent 07fab8da808d0702778da50e5b435e6ba471c903 author Anatoli Antonovitch Tue, 18 Apr 2006 22:22:05 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] ide: ATI SB600 IDE support Add support for the IDE device on ATI SB600 Signed-off-by: Felix Kuehling Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07fab8da808d0702778da50e5b435e6ba471c903 tree 59ee487f2bb46e7200ec0888baae34a611530497 parent 3ca269d8b4d020af018e9e7e82b22f965a0e1bd9 author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:22:03 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for sparc64 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Acked-by: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ca269d8b4d020af018e9e7e82b22f965a0e1bd9 tree 8de614ac12a4ec0c2fb6c9392d8efaff6e2d73c9 parent 46dbe2f4ef9954e3ed2155995b76e32f31fef6bb author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:22:02 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for ia64 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46dbe2f4ef9954e3ed2155995b76e32f31fef6bb tree 2d2addfaeda42fe7ef54cf5be5230b7237b74d8b parent 3b60211c1618063cb296439ebaef2041a725ba20 author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:22:01 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for ppc64 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b60211c1618063cb296439ebaef2041a725ba20 tree 5de7fd33aeac8397df4e28aea50eb2bb34829de9 parent 34c37e18696ff6a773f0403348342a9fe49df4af author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:22:00 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for x86_64 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34c37e18696ff6a773f0403348342a9fe49df4af tree e9acba5ee08e10085f39d161de4ca5b171bcbf59 parent c640be26f7f8b7a826529baa72fad76bd4f6f5a2 author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:21:59 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for i386 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c640be26f7f8b7a826529baa72fad76bd4f6f5a2 tree 69b071712c67da99d1bb3c54c29d4ba175191245 parent 96766a3caae789cdfd7fc6a50bad4e0759d869b0 author Jan Engelhardt Tue, 18 Apr 2006 22:21:58 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] pnp: fix two messages in manager.c The wording of two messages in drivers/pnp/manager.c is incorrect. Fix that. Signed-off-by: Jan Engelhardt Acked-by: Pavel Machek Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96766a3caae789cdfd7fc6a50bad4e0759d869b0 tree d9543e13e8e4a15dba4ad874534cac2b20b7d98c parent 3fb0cb5d0f8b915a75677e8e8e4a4a4e481f03f7 author Randy.Dunlap Tue, 18 Apr 2006 22:21:57 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] parport_pc: fix section mismatch warnings (v2) From: Randy Dunlap Fix all modpost section mismatch warnings in parport_pc: WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x230) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x283) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x3e6) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x400) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x463) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x488) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data:superios from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x54c) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x56a) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0x67) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0x9f) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0xa7) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data:cards from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0x132) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0x142) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fb0cb5d0f8b915a75677e8e8e4a4a4e481f03f7 tree 8b1306cc288c0d700ff23a88b26c8d7656fc8d6c parent aa1e816fc92215f94bdfd90107baae8fdc2440d1 author Heikki Orsila Tue, 18 Apr 2006 22:21:55 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] Open IPMI BT overflow I was looking into random driver code and found a suspicious looking memcpy() in drivers/char/ipmi/ipmi_bt_sm.c on 2.6.17-rc1: if ((size < 2) || (size > IPMI_MAX_MSG_LENGTH)) return -1; ... memcpy(bt->write_data + 3, data + 1, size - 1); where sizeof bt->write_data is IPMI_MAX_MSG_LENGTH. It looks like the memcpy would overflow by 2 bytes if size == IPMI_MAX_MSG_LENGTH. A patch attached to limit size to (IPMI_MAX_LENGTH - 2). Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa1e816fc92215f94bdfd90107baae8fdc2440d1 tree 1d520ff39b65a7d3a5f68008eb44ea15c63e0d96 parent 9dfb563b07b1aafcd7d40528ebfa7f9ce28f0556 author Jesper Juhl Tue, 18 Apr 2006 22:21:54 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] Fix potential NULL pointer deref in gen_init_cpio Fix potential NULL pointer deref in gen_init_cpio.c spotted by coverity checker. This fixes coverity bug #86 Without this patch we risk dereferencing a NULL `type' in the "if ('\n' == *type) {" line. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9dfb563b07b1aafcd7d40528ebfa7f9ce28f0556 tree 1eebd3f2a8be3a9d42ffed3d976fee254a349b23 parent 7420884c038f326bdac3a8ded856033523e7684e author Randy Dunlap Tue, 18 Apr 2006 22:21:53 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] config: update usage/help info Replace outdated help message with a reference to README. Update README for make *config variants and environment variable info. Signed-off-by: Randy Dunlap Acked-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7420884c038f326bdac3a8ded856033523e7684e tree 32d17098216a91191482942d0d5ac279bb55163e parent 5e1222717932ff7d447af6da03c10a81fb60af7d author Randy Dunlap Tue, 18 Apr 2006 22:21:52 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] IPMI: fix devinit placement gcc complains about __devinit in the wrong location: drivers/char/ipmi/ipmi_si_intf.c:2205: warning: '__section__' attribute does not apply to types Signed-off-by: Randy Dunlap Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e1222717932ff7d447af6da03c10a81fb60af7d tree b4b3488b24b668be2ecb9d1eb15383e58493ab31 parent 73374454558b9caea46a5521fdae312d3d0ed3e1 author Randy Dunlap Tue, 18 Apr 2006 22:21:51 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] Doc: vm/hugetlbpage update-2 Add new line of /proc/meminfo output. Explain the HugePage_ lines in /proc/meminfo (from Bill Irwin). Change KB to kB since the latter is what is used in the kernel. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73374454558b9caea46a5521fdae312d3d0ed3e1 tree 67c9aa700fe8bada378e28d136452a898f3082a5 parent b514d8c77a6ad9c665c74e6ea7827e5c341095db author Samuel Thibault Tue, 18 Apr 2006 22:21:50 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] apm: fix Armada laptops again Fix the "apm: set display: Interface not engaged" error on Armada laptops again. Jordan said: I think this is fine. It seems to me that this may be the fault of one or both of the APM solutions handling this situation in a non-standard way, but since APM is used very little on the Geode, and I have direct access to our BIOS folks, if this problem comes up with a customer again, we'll solve it from the firmware. Signed-off-by: Samuel Thibault Cc: "Jordan Crouse" Cc: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b514d8c77a6ad9c665c74e6ea7827e5c341095db tree 5550fde8877f87d605e3abaabdb706dcddb274d2 parent cca57c5b5ab164e3c96576fc7739c0a30c2eab72 author Jesper Juhl Tue, 18 Apr 2006 22:21:49 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h Signed-off-by: Jesper Juhl Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cca57c5b5ab164e3c96576fc7739c0a30c2eab72 tree 24a41ba1348d12f25c9e0da3b9b7cbaf4f1ce891 parent ca99c1da080345e227cfb083c330a184d42e27f3 author Tim Chen Tue, 18 Apr 2006 22:21:47 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] Kconfig.debug: Set DEBUG_MUTEX to off by default DEBUG_MUTEX flag is on by default in current kernel configuration. During performance testing, we saw mutex debug functions like mutex_debug_check_no_locks_freed (called by kfree()) is expensive as it goes through a global list of memory areas with mutex lock and do the checking. For benchmarks such as Volanomark and Hackbench, we have seen more than 40% drop in performance on some platforms. We suggest to set DEBUG_MUTEX off by default. Or at least do that later when we feel that the mutex changes in the current code have stabilized. Signed-off-by: Tim Chen Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca99c1da080345e227cfb083c330a184d42e27f3 tree e417b4c456ae31dc1dde8027b6be44a1a9f19395 parent fb30d64568fd8f6a21afef987f11852a109723da author Dipankar Sarma Tue, 18 Apr 2006 22:21:46 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] Fix file lookup without ref There are places in the kernel where we look up files in fd tables and access the file structure without holding refereces to the file. So, we need special care to avoid the race between looking up files in the fd table and tearing down of the file in another CPU. Otherwise, one might see a NULL f_dentry or such torn down version of the file. This patch fixes those special places where such a race may happen. Signed-off-by: Dipankar Sarma Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb30d64568fd8f6a21afef987f11852a109723da tree f5cb57a46f237bb3500743d3421d2ec95849e38a parent 966a082f80a073af1564c5ed6313ef2f0587dde3 author Jeff Dike Tue, 18 Apr 2006 22:21:44 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] uml: add missing __volatile__ We were missing __volatile__ on some bits of asm in the segfault handlers. On x86_64, this was messing up the move from %rdx to uc because that was moved to after the GET_FAULTINFO_FROM_SC, which changed %rdx. Also changed the other bit of asm and the one in the i386 handler to prevent any similar occurrences. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 966a082f80a073af1564c5ed6313ef2f0587dde3 tree da199abad4c035c60f04100b2759815655f46f31 parent f983c45ebedcaf686223afaecd8e681e8dcd15a9 author Rob Landley Tue, 18 Apr 2006 22:21:43 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] uml: physical memory map file fixes UML really wants shared memory semantics form its physical memory map file, and the place for that is /dev/shm. So move the default, and fix the error messages to recognize that this value can be overridden. Signed-off-by: Rob Landley Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f983c45ebedcaf686223afaecd8e681e8dcd15a9 tree 869a042935419734c18c98c4cb4f19bc7af45850 parent ad28e029789ef46aebdfb9ece01d431ce1c637c8 author Al Viro Tue, 18 Apr 2006 22:21:42 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] uml: __user annotations bits of uml __user annotations lost in merge Signed-off-by: Al Viro Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad28e029789ef46aebdfb9ece01d431ce1c637c8 tree e2e5dffefbb2484324ac4d0e74b77d312058b4a5 parent 4127272c38619c56f0c1aa01d01c7bd757db70a1 author Jeff Dike Tue, 18 Apr 2006 22:21:41 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] uml: change sigjmp_buf to jmp_buf Clean up the jmpbuf code. Since softints, we no longer use sig_setjmp, so the UML_SIGSETJMP wrapper now has a misleading name. Also, I forgot to change the buffers from sigjmp_buf to jmp_buf. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4127272c38619c56f0c1aa01d01c7bd757db70a1 tree d12ca9b4ba542a93957dc50c009928299ea66991 parent dd1c1e3e9ed04d33a698925238e527b7051f64b9 author Hirokazu Takata Tue, 18 Apr 2006 22:21:38 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] m32r: update switch_to macro for tuning - Remove unnecessary push/pop's of the switch_to() macro for performance tuning. - Cosmetic updates: change __inline__ to inline, etc. Signed-off-by: Hirokazu Takata Cc: NIIBE Yutaka Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd1c1e3e9ed04d33a698925238e527b7051f64b9 tree df4a6c602f7df37a2b6308be95ffb9e98f3dc7f4 parent 0d34c86c3b75e5fd7cde15c965349b0104e06e53 author Hirokazu Takata Tue, 18 Apr 2006 22:21:34 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] m32r: Remove a warning in m32r_sio.c /project/m32r-linux/kernel/linux-2.6.17-rc1-mm2/linux-2.6.17-rc1-mm2/drivers/serial/m32r_sio.c: In function 'm32r_sio_console_write': /project/m32r-linux/kernel/linux-2.6.17-rc1-mm2/linux-2.6.17-rc1-mm2/drivers/serial/m32r_sio.c:1060: warning: unused variable 'i' Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d34c86c3b75e5fd7cde15c965349b0104e06e53 tree 13092afb5f94f45429ff04c24ce390ddf7f6a7b4 parent fa372810e51979c5044e036a34015845e9c6aedd author Hirokazu Takata Tue, 18 Apr 2006 22:21:30 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] m32r: mappi3 reboot support Here is a patch to support a reboot function for M3A-2170(Mappi-III) evaluation board. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa372810e51979c5044e036a34015845e9c6aedd tree 788adb758256488a7760c02384ad387071cf2d50 parent 8e8ff02c0b61d9b7c15c7996a2eddbedf51a105b author Hirokazu Takata Tue, 18 Apr 2006 22:21:25 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] m32r: update include/asm-m32r/semaphore.h This patch updates include/asm-m32r/semaphore.h for good readability and maintainability. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e8ff02c0b61d9b7c15c7996a2eddbedf51a105b tree dde7fcedee5d8720f5cc95da5ed4629fd3369bc8 parent efe87d2b822e42975b4da958c9d321cf89bfeb5a author Hirokazu Takata Tue, 18 Apr 2006 22:21:20 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] m32r: Fix pt_regs for !COFNIG_ISA_DSP_LEVEL2 target This modification is required to fix debugging function for m32r targets with !CONFIG_ISA_DSP_LEVEL2, by unifying 'struct pt_regs' and 'struct sigcontext' size for all M32R ISA. Some m32r processor core with !CONFIG_ISA_DSP_LEVEL2 configuration has only single accumulator a0 (ex. VDEC2 core, M32102 core, etc.), the others with CONFIG_ISA_DSP_LEVEL2 has two accumulators, a0 and a1. This means there are two variations of thread context. So far, we reduced and changed stackframe size at a syscall for their context size. However, this causes a problem that a GDB for processors with CONFIG_ISA_DSP_LEVEL2 cannot be used for processors with !CONFIG_ISA_DSP_LEVEL2. From the viewpoint of GDB support, we should reduce such variation of stackframe size for simplicity. In this patch, dummy members are added to 'struct pt_regs' and 'struct sigcontext' to adjust their size for !CONFIG_ISA_DSP_LEVEL2. This modification is also a one step for a GDB update in future. Currently, on the m32r, GDB can access process's context by using ptrace functions in a simple way of register by register access. By unifying stackframe size, we have a possibility to make use of ptrace functions of not only a single register access but also block register access, PTRACE_{GETREGS,PUTREGS}. However, for this purpose, we might have to modify stackframe structure some more; for example, PSW (processor status word) register should be pre-processed before pushing to stack at a syscall, and so on. In this case, we must update carefully both kernel and GDB at a time... Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Cc: Kei Sakamoto Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit efe87d2b822e42975b4da958c9d321cf89bfeb5a tree 1bdabc6a189d4f2cd97dc98983e3b87a5aa58cfe parent 1bb858f27eadc54e24dfa351fcae724cff426de2 author Randy Dunlap Tue, 18 Apr 2006 22:21:14 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] x86 cpuid and msr notifier callback section mismatches Fix section mismatch warnings in x86 cpuid and msr notifier callback functions. We can't have these as init (discarded) code. WARNING: arch/x86_64/kernel/cpuid.o - Section mismatch: reference to .init.text: from .data between 'cpuid_class_cpu_notifier' (at offset 0x0) and 'cpuid_fops' WARNING: arch/x86_64/kernel/msr.o - Section mismatch: reference to .init.text: from .data between 'msr_class_cpu_notifier' (at offset 0x0) and 'msr_fops' Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bb858f27eadc54e24dfa351fcae724cff426de2 tree 2c0812570c3a063cf1a0d6f334218e3dc1cce115 parent ab5703b34237da7034800ec2466ceebf88a7e685 author lepton Tue, 18 Apr 2006 22:21:10 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] asm-i386/atomic.h: local_irq_save should be used instead of local_irq_disable atomic_add_return() if CONFIG_M386 can accidentally enable local interrupts. Signed-off-by: Lepton Wu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab5703b34237da7034800ec2466ceebf88a7e685 tree 1c319edf228bb9467a0b8b2bc2a069d0545f5c52 parent dda27d1a55e185b0c5fd184b86ac26c66846f095 author Ron Yorston Tue, 18 Apr 2006 22:21:04 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] selinux: Fix MLS compatibility off-by-one bug Fix an off-by-one error in the MLS compatibility code that was causing contexts with a MLS suffix to be rejected, preventing sharing partitions between FC4 and FC5. Bug reported in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188068 Signed-off-by: Stephen Smalley Acked-by: James Morris Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dda27d1a55e185b0c5fd184b86ac26c66846f095 tree 112f9dea961915c32284a30edb28f2958afff1c6 parent 6aa3001b239b387d98a7f945e4a51edeb59e4f2d author Arthur Othieno Tue, 18 Apr 2006 22:20:57 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] hugetlbfs: add Kconfig help text In kernel bugzilla #6248 (http://bugzilla.kernel.org/show_bug.cgi?id=6248), Adrian Bunk notes that CONFIG_HUGETLBFS is missing Kconfig help text. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6aa3001b239b387d98a7f945e4a51edeb59e4f2d tree df3901329baddd8c37a661ad595fa52821dee8ef parent 013159227b840dfd441bd2e4c8b4d77ffb3cc42e author Andrew Morton Tue, 18 Apr 2006 22:20:52 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] page_alloc.c: buddy handling cleanup Fix up some whitespace damage. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 013159227b840dfd441bd2e4c8b4d77ffb3cc42e tree 15bd8349b4a105efc75c77dcd0c1a579ecd87ab4 parent 97c2c9b84d0c1edf4926b13661d5af3f0edccbce author Dave Peterson Tue, 18 Apr 2006 22:20:44 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] mm: fix mm_struct reference counting bugs in mm/oom_kill.c Fix oom_kill_task() so it doesn't call mmput() (which may sleep) while holding tasklist_lock. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97c2c9b84d0c1edf4926b13661d5af3f0edccbce tree bc986808cd7b5a8219a0c40ca9fdfc40524883e4 parent 75129e297e861e6c61038aa4cdbf604b022de4ff author Andrew Morton Tue, 18 Apr 2006 22:20:38 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] oom-kill: mm locking fix Dave Peterson points out that badness() is playing with mm_structs without taking a reference on them. mmput() can sleep, so taking a reference here (inside tasklist_lock) is hard. Fix it up via task_lock() instead. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75129e297e861e6c61038aa4cdbf604b022de4ff tree 48392ab6ae43547ae2d81a312eb22708af0dc515 parent 4a3b98a422a20dedf3a2a40c44892d6e7e665157 author John Hawkes Tue, 18 Apr 2006 22:20:33 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] mm/slob.c: for_each_possible_cpu(), not NR_CPUS Convert for-loops that explicitly reference "NR_CPUS" into the potentially more efficient for_each_possible_cpu() construct. Signed-off-by: John Hawkes Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a3b98a422a20dedf3a2a40c44892d6e7e665157 tree 24387ffda32d2d7a8582116cd39654bf1fac19fe parent 8db08de4f6ae24e90aedf5125b5ddd52ffff15f4 author Rafael J. Wysocki Tue, 18 Apr 2006 22:20:29 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] swsusp: prevent possible image corruption on resume The function free_pagedir() used by swsusp for freeing its internal data structures clears the PG_nosave and PG_nosave_free flags for each page being freed. However, during resume PG_nosave_free set means that the page in question is "unsafe" (ie. it will be overwritten in the process of restoring the saved system state from the image), so it should not be used for the image data. Therefore free_pagedir() should not clear PG_nosave_free if it's called during resume (otherwise "unsafe" pages freed by it may be used for storing the image data and the data may get corrupted later on). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8db08de4f6ae24e90aedf5125b5ddd52ffff15f4 tree a35f45d38b25f1ad9ddbc006712488d26ecaf987 parent b73781c866f671ff5a84d7c840510b43e8731d13 author David Barksdale Tue, 18 Apr 2006 22:20:27 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] m41t00: fix bitmasks when writing to chip Fix the bitmasks used when writing to the M41T00 registers. The original code used a mask of 0x7f when writing to each register, this is incorrect and probably the result of a copy-paste error. As a result years from 1980 to 1999 will be read back as 2000 to 2019. Signed-off-by: David Barksdale Acked-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b73781c866f671ff5a84d7c840510b43e8731d13 tree b8e5d32802fd048e5229615576dc4fda82c722d4 parent 676ff453e58c5ff7ddbfebf5a11142e3e4add161 author Jeff Dike Tue, 18 Apr 2006 22:20:24 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] uml: MADV_REMOVE fixes MADV_REMOVE fixes - change the test mapping to be MAP_SHARED instead of MAP_PRIVATE, as MADV_REMOVE on MAP_PRIVATE maps won't work. Also, use the kernel's definition of MADV_REMOVE instead of hardcoding it if there isn't a libc definition. Signed-off-by: Jeff Dike Cc: Hugh Dickins Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 676ff453e58c5ff7ddbfebf5a11142e3e4add161 tree 73dd2d5fa0baa38be1357947b0a90b013b14115f parent 5e85d4abe3f43bb5362f384bab0e20ef082ce0b5 author KAMEZAWA Hiroyuki Tue, 18 Apr 2006 22:20:21 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] for_each_possible_cpu: x86_64 for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e85d4abe3f43bb5362f384bab0e20ef082ce0b5 tree cd3a29086e5274fd08bc8d22d15568deab144755 parent 181ae4005d0a4010802be534d929b38c42b9ac06 author Eric W. Biederman Tue, 18 Apr 2006 22:20:16 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] task: Make task list manipulations RCU safe While we can currently walk through thread groups, process groups, and sessions with just the rcu_read_lock, this opens the door to walking the entire task list. We already have all of the other RCU guarantees so there is no cost in doing this, this should be enough so that proc can stop taking the tasklist lock during readdir. prev_task was killed because it has no users, and using it will miss new tasks when doing an rcu traversal. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 181ae4005d0a4010802be534d929b38c42b9ac06 tree e16e0a70cff702b11edb497eee4a4d77f27d104a parent 8bbde0e6d52265158ee9625f383500c1a7d09ba9 author Paolo 'Blaisorblade' Giarrusso Tue, 18 Apr 2006 22:20:13 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] uml: make 64-bit COW files compatible with 32-bit ones This is the minimal fix to make 64-bit UML binaries create 32-bit compatible COW files and read them. I've indeed tested that current code doesn't do this - the code gets SIGFPE for a division by a value read at the wrong place, where 0 is found. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e0267c26e237f84f608a68e579bf4eb89dad819 tree 9ea854e8e97113afbf33dfb787171950cfb53df6 parent a4514ebd8e12c63c09ab02be518db545bd1d24af author Jens Axboe Wed, 19 Apr 2006 15:57:31 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:57:31 +0200 [PATCH] splice: fixup writeout path after ->map changes Since ->map() no longer locks the page, we need to adjust the handling of those pages (and stealing) a little. This now passes full regressions again. Signed-off-by: Jens Axboe commit a4514ebd8e12c63c09ab02be518db545bd1d24af tree ec7bcaed8d4594bd9d763659686e9318158da3aa parent 2a27250e6cf47ca1ea3bea0a55e4b7889c097627 author Jens Axboe Wed, 19 Apr 2006 15:57:05 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:57:05 +0200 [PATCH] splice: offset fixes - We need to adjust *ppos for writes as well. - Copy back modified offset value if one was passed in, similar to what sendfile does. Signed-off-by: Jens Axboe commit 2a27250e6cf47ca1ea3bea0a55e4b7889c097627 tree 3dbd4747df21e72420ab6fb91fc174173903c803 parent c4f895cbe1e95aab633207fb19c650b7c984c01a author Jens Axboe Wed, 19 Apr 2006 15:56:40 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:56:40 +0200 [PATCH] tee: link_pipe() must be careful when dropping one of the pipe locks We need to ensure that we only drop a lock that is ordered last, to avoid ABBA deadlocks with competing processes. Signed-off-by: Jens Axboe commit c4f895cbe1e95aab633207fb19c650b7c984c01a tree 3f8fa236d737da19bd9d7c38ab01079caf7d5f56 parent 91ad66ef4469cb631ec0ccd131b07f16770773f7 author Jens Axboe Wed, 19 Apr 2006 15:56:12 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:56:12 +0200 [PATCH] splice: cleanup the SPLICE_F_NONBLOCK handling - generic_file_splice_read() more readable and correct - Don't bail on page allocation with NONBLOCK set, just don't allow direct blocking on IO (eg lock_page). Signed-off-by: Jens Axboe commit 91ad66ef4469cb631ec0ccd131b07f16770773f7 tree 89db609ce4d9673ad1f586abe87c76d6f38ab0d0 parent 8bbde0e6d52265158ee9625f383500c1a7d09ba9 author Jens Axboe Wed, 19 Apr 2006 15:55:10 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:55:10 +0200 [PATCH] splice: close i_size truncate races on read We need to check i_size after doing a blocking readpage. Signed-off-by: Jens Axboe