18 Jul, 2007
40 commits
-
* trim trailing whitespace
* remove CONFIG_PCI ifdefs, this driver is always PCI (Kconfig enforced)
* remove return statements at the tail of a function
* remove indentation levels by returning an error code immediately.
Makes the code much more readable, and easier to update to PCI hotplug
API.Signed-off-by: Jeff Garzik
-
No behavior changes, just code movement. Prep for PCI hotplug API.
Well, CONFIG_PCI useless ifdef was removed.
Signed-off-by: Jeff Garzik
-
No behavior changes, just code movement. Prep for PCI hotplug API.
Signed-off-by: Jeff Garzik
-
No behavior changes, just code movement. Prep for PCI hotplug API.
Signed-off-by: Jeff Garzik
-
1) Remove CONFIG_PCI ifdefs. PCI is required in Kconfig.
2) Break up setup_netjet_s() into three separate internal functions.
This helps facilitate upcoming use of PCI hotplug API, and in addition
makes the code much easier to follow.No code is changed, just moved around. I even kept the out-of-favor
"return(0)" style used in the current source code.Signed-off-by: Jeff Garzik
-
Just code movement. No code changes or cleanups besides that which
is required to call the new functions from the old code site.Signed-off-by: Jeff Garzik
-
No behavior changes, just code movement.
Signed-off-by: Jeff Garzik
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm: (80 commits)
KVM: Use CPU_DYING for disabling virtualization
KVM: Tune hotplug/suspend IPIs
KVM: Keep track of which cpus have virtualization enabled
SMP: Allow smp_call_function_single() to current cpu
i386: Allow smp_call_function_single() to current cpu
x86_64: Allow smp_call_function_single() to current cpu
HOTPLUG: Adapt thermal throttle to CPU_DYING
HOTPLUG: Adapt cpuset hotplug callback to CPU_DYING
HOTPLUG: Add CPU_DYING notifier
KVM: Clean up #includes
KVM: Remove kvmfs in favor of the anonymous inodes source
KVM: SVM: Reliably detect if SVM was disabled by BIOS
KVM: VMX: Remove unnecessary code in vmx_tlb_flush()
KVM: MMU: Fix Wrong tlb flush order
KVM: VMX: Reinitialize the real-mode tss when entering real mode
KVM: Avoid useless memory write when possible
KVM: Fix x86 emulator writeback
KVM: Add support for in-kernel pio handlers
KVM: VMX: Fix interrupt checking on lightweight exit
KVM: Adds support for in-kernel mmio handlers
... -
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] Clean away some code inside some non-existent CONFIG ifdefs
[IA64] ar.itc access must really be after xtime_lock.sequence has been read
[IA64] correctly count CPU objects in the ia64/sn hwperf interface
[IA64] arbitary speed tty ioctl support
[IA64] use machvec=dig on hpzx1 platforms -
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Acked-by: David S. Miller
Acked-by: Geert Uytterhoeven
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Acked-by: Jeff Dike
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Acked-by: David S. Miller
Signed-off-by: Linus Torvalds -
Verify that types would match for assignment (under sizeof, so we are safe from
side effects or any code actually getting generated), then explicitly cast
everywhere to the fixed-sized types. Kills a bunch of bogus warnings about
constants being truncated (gcc, sparse), finds a pile of endianness problems
hidden by old noise (sparse).Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
__init and __initdata stuff used from __devinit one
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
... fortunately, termios and ktermios there are identical, so no
run-time breakage happened.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Won't build due to lack of dma-mapping.
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
bitmap_unplug only ever returns 0, so it may as well be void. Two callers try
to print a message if it returns non-zero, but that message is already printed
by bitmap_file_kick.write_page returns an error which is not consistently checked. It always
causes BITMAP_WRITE_ERROR to be set on an error, and that can more
conveniently be checked.When the return of write_page is checked, an error causes bitmap_file_kick to
be called - so move that call into write_page - and protect against recursive
calls into bitmap_file_kick.bitmap_update_sb returns an error that is never checked.
So make these 'void' and be consistent about checking the bit.
Signed-off-by: Neil Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
We current completely trust user-space to set up metadata describing an
consistant array. In particlar, that the metadata, data, and bitmap do not
overlap.But userspace can be buggy, and it is better to report an error than corrupt
data. So put in some appropriate checks.Signed-off-by: Neil Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Don't use 'unsigned' variable to track sync vs non-sync IO, as the only thing
we want to do with them is a signed comparison, and fix up the comment which
had become quite wrong.Signed-off-by: Neil Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
People try to use raid auto-detect with version-1 superblocks (which is not
supported) and get confused when they are told they have an invalid
superblock.So be more explicit, and say it it is not a valid v0.90 superblock.
Signed-off-by: Neil Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.Signed-off-by: Jan Engelhardt
Acked-by: Neil Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add Texas Instruments TWL92330/Menelaus Power Management chip driver. This
includes voltage regulators, Dual slot memory card tranceivers and
real-time clock(RTC).The support for RTC is integrated with this driver only; it is not separate
module. Passes 'rtctest' on OMAP H4 EVM, other than lack of "periodic"
(1/N second) IRQs. System wakeup alarms (from suspend-to-RAM) work too.The battery keeps the RTC active over power off, so once you set clock
(rdate/ntpdate/etc, then "hwclock -w") then RTC_HCTOSYS at boot time will
behave as expected.Cc: "Jean Delvare"
Cc: "Tony Lindgren"
Cc: "David Brownell"
Signed-off-by: Trilok Soni
Acked-by: Alessandro Zummo
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Add support for LCD panel on Siemens sx1 mobile phone.
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds TFT LCD panel support for TI OMAP OSK board.
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Add TFT LCD panel spport for TI OMAP1510 Innovator EVM.
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Add TFT LCD panel spport for TI OMAP1610 Innovator EVM.
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds support for TFT LCD panel on Palm Zire71
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Add TFT LCD panel support for Palm Tungsten|T
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds TFT LCD panel support for Palm Tungsten E.
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds support for TFT LCD panel on TI OMAP H3 EVM board.
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds support for TFT LCD panel on TI OMAP H4 EVM board.
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds Epson Blizzard lcd controller driver; used in Nokia Internet Tablet
products.Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds Epson HWA742 lcd controller driver; used in Nokia Internet Tablet
products.Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds support for Texas Instruments OMAP2 processors boards connected with
external LCD controller through "Remote framebuffer Interface"Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds support for Texas Instruments OMAP1 processors boards connected with
external LCD controller through "Special OptimiSed Screen Interface"Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Adds Texas Instruments OMAP2 processor series (OMAP2420/2430) internal
display controller interface support.Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
- Add Texas Instruments OMAP1 processor series (OMAP1510/1610/1710..)
internal LCD controller interface.Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Trilok Soni
Cc: Tony Lindgren
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds