Dirk Behme [Wed, 18 May 2005 22:31:53 +0000 (15:31 -0700)]
[PATCH] ARM: OMAP: Clean up cpu.h, part 1
Rename MULTI_OMAP to MULTI_OMAP1 and add option for
MULTI_OMAP2.
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
David Brownell [Wed, 18 May 2005 21:06:18 +0000 (14:06 -0700)]
[PATCH] ARM: OMAP: support set_irq_type()
This updates IRQ triggering code to be a closer match for other ARMs:
- Adds support for the standard ARM-Linux set_irq_type() call.
- Reports errors on unsupported triggering modes (e.g. nothing except
16xx GPIOs can trigger on both edges) and on bogus wakeup requests.
- Deprecates the OMAP-only omap_set_gpio_edge_ctrl() call.
- Removes many of the "sparse" warnings from the GPIO code.
- Modifies the smc91x driver so it knows which OMAP boards use falling
edge triggers (vs rising, like everything else).
Later patches can remove the deprecation warnings and then the OMAP-only
version of that standard call.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
David Singleton [Wed, 18 May 2005 20:59:50 +0000 (13:59 -0700)]
[PATCH] ARM: OMAP: fix for modversions bug
EXPORT_SYMBOL_ALIAS add corresponding entry to the kernel crc
table for each symbol alias added to the kernel symbol table.
Signed-off-by: David Singleton <dsingleton@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
David Brownell [Tue, 17 May 2005 01:59:56 +0000 (18:59 -0700)]
[PATCH] ARM: OMAP: nand flash and cmdlinepart
Override the default chip name so command line partitioning can be used.
Move probe() to init section. Provide missing "return" statement.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Toshihiro Kobayashi [Tue, 10 May 2005 20:47:01 +0000 (13:47 -0700)]
[PATCH] OMAP: DSP pm fix
This is a fix for pm code with regard to the DSP.
In the current code we have a problem that DSP won't
re-enabled after suspend if DSP is just turned on
(with idle request) from McBSP driver but not used
by DSP Gateway.
I moved DSP related code from pm.c to dsp_common.c.
With this patch DSP will be resumed to the original state
after suspend, whichever state (reset / idling for
McBSP / running with DSP Gateway) DSP was in.
Signed-off-by: Toshihiro Kobayashi <Toshihiro.Kobayashi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 22:20:11 +0000 (15:20 -0700)]
Linux v2.6.12-rc4-omap1
Tony Lindgren [Mon, 9 May 2005 21:38:42 +0000 (14:38 -0700)]
Add OMAP camera driver
Adds OMAP camera driver.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:32:41 +0000 (14:32 -0700)]
Add OMAP audio driver
Adds OMAP audio driver.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:32:04 +0000 (14:32 -0700)]
Add OMAP watchdog driver
Adds OMAP watchdog driver.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:31:33 +0000 (14:31 -0700)]
Add OMAP RTC driver
Adds OMAP RTC driver.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:30:41 +0000 (14:30 -0700)]
OMAP1510 specific fixes to 8250.c serial driver.
Adds OMAP1510 specific fixes to 8250.c serial driver.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:29:46 +0000 (14:29 -0700)]
Add OMAP IrDA driver
Adds OMAP IrDA driver
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:28:52 +0000 (14:28 -0700)]
Add memory timing warning to smc91x Ethernet driver
Adds memory timing warning to smc91x Ethernet driver.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:28:04 +0000 (14:28 -0700)]
Add various OMAP input drivers
Adds various OMAP input drivers.
Signed-off-by: Tony Lindgren <tony@atomide.com>
David Brownell [Mon, 9 May 2005 21:27:05 +0000 (14:27 -0700)]
Update OMAP USB drivers
Updates OMAP USB drivers.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:26:03 +0000 (14:26 -0700)]
Add various OMAP SSI drivers
Adds various OMAP SSI drivers.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:24:48 +0000 (14:24 -0700)]
Add various OMAP I2C drivers
Adds various OMAP I2C drivers.
Signed-off-by: Tony Lindgren <tony@atomide.com>
David Brownell [Mon, 9 May 2005 21:24:09 +0000 (14:24 -0700)]
Add OMAP CompactFlash driver
Adds OMAP CompactFlash driver.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Juha Yrjola [Mon, 9 May 2005 21:23:25 +0000 (14:23 -0700)]
Add OMAP MMC driver
Adds OMAP MMC driver.
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:22:18 +0000 (14:22 -0700)]
MTD: OMAP: Add various OMAP drivers
Adds NOR and NAND drivers for OMAP.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Imre Deak [Mon, 9 May 2005 21:21:24 +0000 (14:21 -0700)]
FB: OMAP: Add support for framebuffer
Adds support for OMAP framebuffer.
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:19:16 +0000 (14:19 -0700)]
Add omap version to Makefile and force CROSS_COMPILE
Adds omap kernel version to Makefile and forces CROSS_COMPILE.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:17:42 +0000 (14:17 -0700)]
Allow booting from USB drive
Allows booting from USB drive.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Dirk Behme [Mon, 9 May 2005 21:16:46 +0000 (14:16 -0700)]
ARM: OMAP: Add documentation
Adds documentation for OMAP.
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:15:57 +0000 (14:15 -0700)]
I2C needed early
OMAP needs I2C early during boot.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Todd Poynor [Mon, 9 May 2005 21:13:14 +0000 (14:13 -0700)]
[JFFS2] JFFS2 fixes
JFFS2 fixes.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:10:26 +0000 (14:10 -0700)]
ARM: Make low-level printk work
Makes low-level printk work.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:09:51 +0000 (14:09 -0700)]
ARM: OMAP: Add defconfigs
Adds defconfigs.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:09:18 +0000 (14:09 -0700)]
ARM: Linker compile fix for gcc-3.3.4
Linker compile fix for gcc-3.3.4.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Dirk Behme [Mon, 9 May 2005 21:07:57 +0000 (14:07 -0700)]
ARM: Add function to get clock usecount
Adds function to get clock usecount.
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 21:05:06 +0000 (14:05 -0700)]
ARM: OMAP1510 needs device in dma-mapping
Include device header for dma-mapping.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Kevin Hilman [Mon, 9 May 2005 21:03:35 +0000 (14:03 -0700)]
ARM: OMAP: Boot 730 without a bootloader
Boots 730 without a bootloader
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tuukka Tikkanen [Mon, 9 May 2005 20:17:56 +0000 (13:17 -0700)]
ARM: OMAP: Optional timer modulo code
Adds support for running 32KHz timer at 100HZ using modulo code.
Signed-off-by: Tuukka Tikkanen <>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Toshihiro Kobayashi [Mon, 9 May 2005 20:16:48 +0000 (13:16 -0700)]
ARM: OMAP: Add DSP gateway
Adds support for integrated DSP on OMAP processors.
Signed-off-by: Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Kevin Hilman [Mon, 9 May 2005 20:15:22 +0000 (13:15 -0700)]
ARM: OMAP: Boot 730 without bootloader
Boots 730 without bootloader.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Juha Yrjola [Mon, 9 May 2005 20:12:15 +0000 (13:12 -0700)]
ARM: OMAP: Add support for GPIO switch
Adds support for GPIO switch
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Juha Yrjola [Mon, 9 May 2005 20:10:55 +0000 (13:10 -0700)]
ARM: OMAP: Add support for boot reason
Adds support for boot reason.
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Juha Yrjola [Mon, 9 May 2005 20:09:27 +0000 (13:09 -0700)]
ARM: Add support for ATAG_BOARD
Adds support for board specific tag ATAG_BOARD.
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Lauri Leukkunen [Mon, 9 May 2005 20:07:55 +0000 (13:07 -0700)]
ARM: OMAP: Add support for dual mode timer
Adds support for OMAP dual mode timer.
Signed-off-by: Lauri Leukkunen <lauri.leukkunen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 20:06:36 +0000 (13:06 -0700)]
ARM: OMAP: Enable dynamic tick timer for OMAP
Enables dynamic tick timer for OMAP.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 20:05:34 +0000 (13:05 -0700)]
ARM: Add support for dynamic tick timer
Adds ARM generic support for dynamic tick timer.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 20:03:13 +0000 (13:03 -0700)]
ARM: OMAP: Add cpufreq support
Sync with linux-omap tree. Adds cpufreq support for OMAP.
Does not yet include changing memory timings.
Signed-off-by: Tony Lindgren <tony@atomide.com>
David Brownell [Mon, 9 May 2005 19:57:21 +0000 (12:57 -0700)]
ARM: OMAP: USB update
Sync with linux-omap tree. Updates to low-level USB initialization.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tuukka Tikkanen [Mon, 9 May 2005 19:53:27 +0000 (12:53 -0700)]
ARM: OMAP: PM update
Sync with linux-omap tree. PM updates to make deep sleep work.
Signed-off-by: Tony Lindgren <tony@atomide.com>
David Singleton [Mon, 9 May 2005 19:51:38 +0000 (12:51 -0700)]
ARM: OMAP: Mux update
Sync with linux-omap tree. Improves the locking for pin multiplexing.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 19:47:49 +0000 (12:47 -0700)]
ARM: OMAP: Update McBSP
Sync with linux-omap tree. Fixes for clock framework,
DSP related updates, and optional polling read and write.
DSP updates by Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
Polling read and write by Nishant Menon <x0nishan@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 19:38:42 +0000 (12:38 -0700)]
ARM: OMAP: GPIO update
Sync with linux-omap tree. Adds wake-up functionality to GPIO interrupts.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Juha Yrjola [Mon, 9 May 2005 19:37:28 +0000 (12:37 -0700)]
ARM: OMAP: DMA update
Sync with linux-omap tree. Updates DMA code to check for active
LCD transfers.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tuukka Tikkanen [Mon, 9 May 2005 19:34:46 +0000 (12:34 -0700)]
ARM: OMAP: Update clock framework
Sync with linux-omap tree. Updates clock framework to reset unused clocks
with a late_initcall.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Juha Yrjölä [Mon, 9 May 2005 19:10:14 +0000 (12:10 -0700)]
ARM: OMAP: Split OMAP1 specific low-level init code into smaller files
Sync with linux-omap tree. Splits OMAP1 specific low-level init file
common.c into smaller files, and moves them into omap1 subdirectory.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Paul Mundt [Mon, 9 May 2005 19:06:34 +0000 (12:06 -0700)]
ARM: OMAP: Move OMAP1 specific board files to omap1 subdirectory
Sync with linux-omap tree. Moves OMAP1 specific board files
to omap1 subdirectory.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Paul Mundt [Mon, 9 May 2005 19:03:41 +0000 (12:03 -0700)]
ARM: OMAP: Move OMAP1 specific core files to omap1 subdirectory
Sync with linux-omap tree. Moves OMAP1 specific core files, such
as irq.c, time.c and fpga.c to omap1 subdirectory.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Paul Mundt [Mon, 9 May 2005 18:59:51 +0000 (11:59 -0700)]
ARM: OMAP: Create subdirectory arch/arm/mach-omap/omap1
Sync with linux-omap tree. Move OMAP1 specific files to omap1
subdirectory to allow sharing code with upcoming OMAP2 boards.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren [Mon, 9 May 2005 18:41:02 +0000 (11:41 -0700)]
ARM: OMAP: Update include files
Sync with linux-omap tree. Updates from various OMAP developers.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Linus Torvalds [Sat, 7 May 2005 05:20:31 +0000 (22:20 -0700)]
Linux v2.6.12-rc4
Jeff Dike [Sat, 7 May 2005 04:30:55 +0000 (21:30 -0700)]
[PATCH] uml: x86_64 fixes
This fixes some x86_64 bugs -
- maybe_map returns -1 on error instead of 0, which is interpreted as
physical address 0
- removed an include of ipc.h, which isn't needed
- fixed the calculation of signal frame location
- the signal delivery code is now immune to the stack expansion check
- added a missing include
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Bodo Stroesser [Sat, 7 May 2005 04:30:54 +0000 (21:30 -0700)]
[PATCH] uml: Fix process exit race
tt-mode closes switch_pipes in exit_thread_tt and kills processes in
switch_to_tt, if the exit_state is EXIT_DEAD or EXIT_ZOMBIE.
In very rare cases the exiting process can be scheduled out after having set
exit_state and closed switch_pipes (from release_task it calls proc_pid_flush,
which might sleep). If this process is to be restarted, UML failes in
switch_to_tt with:
write of switch_pipe failed, err = 9
We fix this by closing switch_pipes not in exit_thread_tt, but later in
release_thread_tt. Additionally, we set switch_pipe[0] = 0 after closing.
switch_to_tt must not kill "from" process depending on its exit_state, but
must kill it after release_thread was processed only, so it examines
switch_pipe[0] for its decision.
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Bodo Stroesser [Sat, 7 May 2005 04:30:53 +0000 (21:30 -0700)]
[PATCH] uml: S390 preparation, arch_align_stack
Only x86 and x86_64 use arch_align_stack(), all other subarches have:
#define arch_align_stack(x) (x)
So, if this definition is found, UML's own arch_align_stack() should be
skipped.
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Bodo Stroesser [Sat, 7 May 2005 04:30:52 +0000 (21:30 -0700)]
[PATCH] uml: Use CONFIG variable for address space size
tt/mem.c still uses hardcoded TOP for i386 instead of CONFIG_TOP_ADDR provided
by subarch's Kconfig_XXXX, which would be right.
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jeff Dike [Sat, 7 May 2005 04:30:51 +0000 (21:30 -0700)]
[PATCH] uml: Turn literal numbers into symbolic constants
So, there I was, looking at my own code, wondering what the magic setjmp
return values did. This patch turns the constants that are used to make
requests of the initial thread into meaningful symbols.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jeff Dike [Sat, 7 May 2005 04:30:51 +0000 (21:30 -0700)]
[PATCH] uml: Makefile cleanup
This eliminates some stuff from arch/um/kernel/Makefile which refers to a
file which has long since been deleted.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jeff Dike [Sat, 7 May 2005 04:30:50 +0000 (21:30 -0700)]
[PATCH] uml: Eliminate unusable function
Eliminate the non-inline version of switch_mm, which can't be used,
considering the inline version in asm/mmu_context.h
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Bodo Stroesser [Sat, 7 May 2005 04:30:49 +0000 (21:30 -0700)]
[PATCH] uml: S390 preparation, save an extra register
s390 tt-mode needs to save not only syscall number, but an further register
also.
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Bodo Stroesser [Sat, 7 May 2005 04:30:46 +0000 (21:30 -0700)]
[PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch
s390 needs to change some parts of arch/um/kernel/ptrace.c. Thus, the code
regarding PEEKUSER and POKEUSER are shifted to arch/um/sys-<subarch>/ptrace.c.
Also s390 debug registers need to be updated, when singlestepping is switched
on / off. Thus, setting/resetting of singlestepping is centralized in the new
function set_singlestep(), which also inserts the macro
SUBARCH_SET_SINGLESTEP(mode), if defined.
Finally, s390 has the "ieee_instruction_pointer" in its
registers, which also is allowed to be read via
ptrace( PTRACE_PEEKUSER, getpid(), PT_IEEE_IP, 0);
To implement this feature, sys_ptrace inserts the macro
SUBARCH_PTRACE_SPECIAL, if defined.
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jeff Dike [Sat, 7 May 2005 04:30:45 +0000 (21:30 -0700)]
[PATCH] uml: command line handling cleanup
Command line handling cleanups - a couple of things made static and an
unused declaration removed from header.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jeff Dike [Sat, 7 May 2005 04:30:44 +0000 (21:30 -0700)]
[PATCH] uml: Remove include/asm-um/elf.h
I accidentally included include/asm-um/elf.h as a real file in a previous
patch. This patch eliminates it.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jeff Dike [Sat, 7 May 2005 04:30:43 +0000 (21:30 -0700)]
[PATCH] uml: __deprecated makes build unnecessarily noisy
Remove the __deprecated from verify_area_skas and verify_area_tt. Since
verify_area is itself marked __deprecated, and it is the only caller of
these, then they don't need to be marked. Marking them only makes the
build noisier.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jiri Benc [Sat, 7 May 2005 04:30:42 +0000 (21:30 -0700)]
[PATCH] video/tuner: add VIDEO_G_FREQUENCY and freq range to VIDIOC_G_TUNER
This patch adds a VIDIOC_G_FREQUENCY command to tuner-core.c and sets
lowest and highest tunable frequencies in v4l2_tuner structure returned by
VIDIOC_G_TUNER command.
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Cc: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jiri Benc [Sat, 7 May 2005 04:30:42 +0000 (21:30 -0700)]
[PATCH] video/tuner: fix tuner->freq updating
In VIDIOC_S_FREQUENCY command in tuner-core.c, t->freq is set to a new
value before calling set_freq(). This is not necessary, as set_freq() sets
t->freq itself. Moreover, it causes problems with Philips tuners, as they
need to take into consideration difference between previous and new
frequency.
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Cc: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Kumar Gala [Sat, 7 May 2005 04:30:41 +0000 (21:30 -0700)]
[PATCH] ppc32: Fix POWER3/POWER4 compiler error
In separating out support for hardware floating point we missed the fact
that both POWER3 and POWER4 have HW FP. Enable CONFIG_PPC_FPU for POWER3
and POWER4 fixes the issue.
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paul Mackerras [Sat, 7 May 2005 00:41:03 +0000 (17:41 -0700)]
[PATCH] ppc64: enable CONFIG_RTAS_PROC by default
This patch enables CONFIG_RTAS_PROC by default on pSeries. This will
preserve /proc/ppc64/rtas/rmo_buffer, which is needed by librtas.
Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andrew Morton [Sat, 7 May 2005 00:41:01 +0000 (17:41 -0700)]
[PATCH] revert msdos partitioning fix
This change from March 3rd causes the partition parsing code to ignore
partitions which have a signature byte of zero. Turns out that more people
have such partitions than we expected, and their device numbering is coming up
wrong in post-2.6.11 kernels.
So revert the change while we think about the problem a bit more.
Cc: Andries Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk [Fri, 6 May 2005 23:28:45 +0000 (01:28 +0200)]
[PATCH] drivers/block/rd.c: rd_size shouldn't be static
I somehow missed that there is external usage of rd_size on some
architectures.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Linus Torvalds [Fri, 6 May 2005 23:46:40 +0000 (16:46 -0700)]
Merge ... parisc-linux.org/~jejb/git/scsi-for-linus-2.6.git
Linus Torvalds [Fri, 6 May 2005 22:41:11 +0000 (15:41 -0700)]
Merge ... /home/rmk/linux-2.6-serial.git
Linus Torvalds [Fri, 6 May 2005 22:39:23 +0000 (15:39 -0700)]
Fix acpi_find_rsdp() - acpi_scan_rsdp takes length, not end
Noticed by Jakub Jermar <jermar@itbs.cz>
James Bottomley [Fri, 6 May 2005 18:14:48 +0000 (13:14 -0500)]
[SCSI] correct the sym2 period setting routines
There's a slight bug in the routines in that if the period requires dt,
then the routine will unconditionally set it. DT may only be set if
Wide is also set, so this turns back on the wide bit.
For domain validation to work correctly, we need to observe the wide bit
absolutely.
Acked by: Matthew Wilcox <willy@debian.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Jens Axboe [Fri, 6 May 2005 06:37:44 +0000 (08:37 +0200)]
[PATCH] fix alsa via82xx resume
Trying software suspend on my workstation makes it crash on resume. The
problem is that via82xx marks the chip_init function as _devinit, but calls
it on resume as well.
Cc: <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paul Mackerras [Fri, 6 May 2005 06:28:56 +0000 (16:28 +1000)]
[PATCH] ppc64: global interrupt queue cleanup
Move the code to set global interrupt queue membership to xics.c,
and remove no longer needed extern declarations. Also call it on
all cpus (even the boot cpu) to prepare for kexec.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: R Sharada <sharada@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Russell King [Fri, 6 May 2005 09:19:09 +0000 (10:19 +0100)]
[PATCH] 8250_pci.c: add comment about enum sorting order
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Paul Mackerras [Fri, 6 May 2005 04:31:31 +0000 (14:31 +1000)]
[PATCH] ppc64: remove explicit contig_page_data reference
Trivial patch to remove our last direct reference to contig_page_data.
This will make it just that much less hard to seperate NUMA and
DISCONTIG. Please forward on. Against 2.6.12-rc1
Signed-off-by: Joel Schopp <jschopp@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paul Mackerras [Fri, 6 May 2005 04:25:55 +0000 (14:25 +1000)]
[PATCH] ppc64: remove unused arch/ppc64/boot/start.c
start.c is not referenced in the arch/ppc64/boot/Makefile
compile tested with the defconfig.
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paul Mackerras [Fri, 6 May 2005 04:27:17 +0000 (14:27 +1000)]
[PATCH] ppc64: remove asm/bootinfo.h include
The defines in bootinfo.h are not used, so the include can be removed.
According to Ben, birecs are not used on ppc64:
on ppc64, we made the decision of enforcing the presence of an
OF device-tree and either an OF-like client interface or a kexec
like flattened tree.
so if your bootloader want to say things to the kernel,
it can do so by adding properties to the device-tree
compile-tested with defconfig
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paul Mackerras [Fri, 6 May 2005 03:35:04 +0000 (13:35 +1000)]
[PATCH] ppc64: fix reloc_offset comment
The code in reloc_offset is actually subtracting the address in the link
register from the address calculated by the linker. Perhaps the
extended mnemonic `sub' replaced an original `subf' and the comment just
did not get updated.
bl 1f
1: mflr r3
LOADADDR(r4,1b)
sub r3,r4,r3
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paul Mackerras [Fri, 6 May 2005 03:29:34 +0000 (13:29 +1000)]
[PATCH] ppc64: fix prom.c compile warning
The code in unflatten_device_tree knows that get_property is written to
only return with lenp equal to 1 when also returning a valid pointer.
The gcc 3.3.3 compiler is not able to prove this to itself, so it warns
about a possible uninitialized pointer dereference:
.../arch/ppc64/kernel/prom.c: In function `unflatten_device_tree':
.../arch/ppc64/kernel/prom.c:828:
warning: `p' might be used uninitialized in this function
Unless it is desired to rework the interaction between the two
functions, this will keep the existing behavior but quiet the compiler.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Tobias Klauser [Fri, 6 May 2005 02:10:04 +0000 (12:10 +1000)]
[PATCH] arch/ppc64: Replace custom MIN macro
Replace a custom MIN() macro with the min() macro from kernel.h
This patch removes 4 lines of redundant code.
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk [Thu, 5 May 2005 23:16:22 +0000 (16:16 -0700)]
[PATCH] drivers/scsi/sym53c416.c: fix a wrong check
The Coverity checker found that this for loop was wrong.
This patch changes it to what seems to be intended.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Matthew Wilcox <willy@debian.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk [Thu, 5 May 2005 23:16:21 +0000 (16:16 -0700)]
[PATCH] fs/udf/udftime.c: fix off by one error
This patch fixes an off by one error found by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
walter harms [Thu, 5 May 2005 23:16:20 +0000 (16:16 -0700)]
[PATCH] documentation for strncpy()
this clarifies the documentation on the behavier of strncpy().
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Domen Puncer [Thu, 5 May 2005 23:16:19 +0000 (16:16 -0700)]
[PATCH] correctly name the Shell sort
As per http://www.nist.gov/dads/HTML/shellsort.html, this should be
referred to as a Shell sort. Shell-Metzner is a misnomer.
Signed-off-by: Daniel Dickman <didickman@yahoo.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Domen Puncer [Thu, 5 May 2005 23:16:19 +0000 (16:16 -0700)]
[PATCH] fix lib/sort regression test
The regression test in lib/sort.c is currently worthless because the array
that is generated for sorting will be all zeros. This patch fixes things
so that the array that is generated will contain unsorted integers (that
are not all identical) as was probably intended.
Signed-off-by Daniel Dickman <didickman@yahoo.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk [Thu, 5 May 2005 23:16:18 +0000 (16:16 -0700)]
[PATCH] fix NCR53C9x.c compile warning
drivers/scsi/NCR53C9x.c: In function `esp_do_data':
drivers/scsi/NCR53C9x.c:1838: warning: unused variable `flags'
Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Kianusch Sayah Karadji [Thu, 5 May 2005 23:16:17 +0000 (16:16 -0700)]
[PATCH] x86: geode support fixes
- Changed Name/defines from "Geode GX" to "Geode GX1" for clarification
- Dropped "-march=i586" in favor of "-march=i486"
- Dopped X86_OOSTORE support for Geode GX1
Signed-off-by: Kianusch Sayah Karadji <kianusch@sk-tech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jesper Juhl [Thu, 5 May 2005 23:16:16 +0000 (16:16 -0700)]
[PATCH] update Ross Biro bouncing email address
Ross moved. Remove the bad email address so people will find the correct
one in ./CREDITS.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Domen Puncer [Thu, 5 May 2005 23:16:15 +0000 (16:16 -0700)]
[PATCH] CodingStyle: trivial whitespace fixups
When I do a "diff -Nur arch/i386 arch/x86_64" to see what is different between these two
architectures, I see some differences due to whitespace issues only. The attached patch removes
some of the noise by fixing up the following files:
- arch/i386/boot/bootsect.S
- arch/i386/boot/video.S
- arch/x86_64/boot/bootsect.S
Signed-off-by: Daniel Dickman <didickman@yahoo.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Domen Puncer [Thu, 5 May 2005 23:16:14 +0000 (16:16 -0700)]
[PATCH] Spelling cleanups in shrinker code
Just a few small cleanups to make this coherent english.
Signed-Off-By: Martin Hicks <mort@wildopensource.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Domen Puncer [Thu, 5 May 2005 23:16:13 +0000 (16:16 -0700)]
[PATCH] ixj* - compile warning cleanup
compile warning cleanup - suggested by Adrian Bunk; remove unmaintained rcs
char strings from source and handle the occurrences of their use, make sure
kernel-userspace issues taken care of; break out into separate patch
Signed-off-by: Stephen Biggs <yrgrknmxpzlk@gawab.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jesper Juhl [Thu, 5 May 2005 23:16:13 +0000 (16:16 -0700)]
[PATCH] fix up a comment still refering to verify_area
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paolo 'Blaisorblade' Giarrusso [Thu, 5 May 2005 23:16:12 +0000 (16:16 -0700)]
[PATCH] comments on locking of task->comm
Add some comments about task->comm, to explain what it is near its definition
and provide some important pointers to its uses.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Randy.Dunlap [Thu, 5 May 2005 23:16:11 +0000 (16:16 -0700)]
[PATCH] reiserfs: use NULL instead of 0
Use NULL instead of 0 for pointer (sparse warning):
fs/reiserfs/namei.c:611:50: warning: Using plain integer as NULL pointer
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>