summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-07-03fix "ftrace: store mcount address in rec->ip"Ingo Molnar
Alexander Beregalov reported this build failure: $ make CROSS_COMPILE=sparc64-unknown-linux-gnu- image modules && sudo make modules_install CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h dnsdomainname: Unknown host CC arch/sparc64/kernel/sparc64_ksyms.o arch/sparc64/kernel/sparc64_ksyms.c:116: error: '_mcount' undeclared here (not in a function) cc1: warnings being treated as errors arch/sparc64/kernel/sparc64_ksyms.c:116: error: type defaults to 'int' in declaration of '_mcount' And bisected it back to: | commit 395a59d0f8e86bb39cd700c3d185d30c670bb958 | Author: Abhishek Sagar <sagar.abhishek@gmail.com> | Date: Sat Jun 21 23:47:27 2008 +0530 | | ftrace: store mcount address in rec->ip the mcount prototype is only available under CONFIG_FTRACE, extend it to CONFIG_MCOUNT as well. Reported-and-bisected-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-0377-tty-break-errorhandlerAlan Cox
Some hardware needs to do break handling itself and may have partial support only. Make break_ctl return an error code. Add a tty driver flag so you can indicate driver hardware side break support. Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0370-serial-add-flush-bufferHaavard Skinnemoen
Serial drivers using DMA (like the atmel_serial driver) tend to get very confused when the xmit buffer is flushed and nobody told them. They also tend to spew a lot of garbage since the DMA engine keeps running after the buffer is flushed and possibly refilled with unrelated data. This patch adds a new flush_buffer operation to the uart_ops struct, along with a call to it from uart_flush_buffer() right after the xmit buffer has been cleared. The driver can implement this in order to syncronize its internal DMA state with the xmit buffer when the buffer is flushed. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0369-tty-split-ldiscAlan Cox
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-0323-usb-serial-api-changeAlan Cox
USB serial likes to use port->tty back pointers for the real work it does and to do so without any actual locking. Unfortunately when you consider hangup events, hangup/parallel reopen or even worse hangup followed by parallel close events the tty->port and port->tty pointers are not guaranteed to be the same as port->tty is the active tty while tty->port is the port the tty may or may not still be attached to. So rework the entire API to pass the tty struct. For console cases we need to pass both for now. This shows up multiple drivers that immediately crash with USB console some of which have been fixed in the process. Longer term we need a proper tty as console abstraction Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-0322-more-tty_port-fieldsAlan Cox
Move more bits into the tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0321-termios-arch-laggardsAlan Cox
Fix up the termios of the people who have not yet got with the program Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0320-cyclades-use-tty_portAlan Cox
Switch cyclades to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0317-stallion-use-tty_portAlan Cox
Switch the stallion driver to use the tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0316-serial-core-use-tty_portAlan Cox
Switch the serial_core based drivers to use the new tty_port structure. We can't quite use all of it yet because of the dynamically allocated extras in the serial_core layer. Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0312-istallion-use-tty_portAlan Cox
Switch istallion to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0308-gs-use-tty_portAlan Cox
Switch drivers using the old "generic serial" driver to use the tty_port structures Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0307-esp-use-tty_portAlan Cox
Switch esp to use the new tty_port structures Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0305-tty.h-cleanupAlan Cox
Coding style clean up and white space tidy Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0304-tty-introduce-tty_portAlan Cox
Every tty driver has its own concept of a port structure and because they all differ we cannot extract commonality. Begin fixing this by creating a structure drivers can elect to use so that over time we can push fields into this and create commonality and then introduce common methods. Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-0301-ldisc-refAlan Cox
Move the line disciplines towards a conventional ->ops arrangement. For the moment the actual 'tty_ldisc' struct in the tty is kept as part of the tty struct but this can then be changed if it turns out that when it all settles down we want to refcount ldiscs separately to the tty. Pull the ldisc code out of /proc and put it with our ldisc code. Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-03Revert "x86, 64-bit: split set_pte_vaddr()"Stephen Rothwell
This reverts commit f2ff8984179fe447fc991c34718652e3079e6236.
2008-07-03Merge commit 'generic-ipi/auto-generic-ipi-next'Stephen Rothwell
Conflicts: arch/powerpc/mm/slice.c arch/s390/kernel/time.c arch/x86/kvm/vmx.c init/main.c kernel/sched_rt.c net/iucv/iucv.c virt/kvm/kvm_main.c
2008-07-03Merge commit 'kmemcheck/auto-kmemcheck-next'Stephen Rothwell
Conflicts: arch/x86/mm/Makefile include/asm-x86/pgtable.h kernel/sysctl.c
2008-07-03Merge commit 'cris/for-next'Stephen Rothwell
2008-07-03Merge commit 'md/for-next'Stephen Rothwell
2008-07-03Merge commit 'm68knommu/for-next'Stephen Rothwell
2008-07-03Merge commit 'kgdb/kgdb-next'Stephen Rothwell
2008-07-03Merge commit 'leds/for-mm'Stephen Rothwell
2008-07-03Merge commit 'battery/master'Stephen Rothwell
2008-07-03Merge commit 'pcmcia/master'Stephen Rothwell
2008-07-03Merge commit 'firmware/master'Stephen Rothwell
Conflicts: drivers/atm/Makefile drivers/char/ip2/ip2main.c drivers/media/dvb/ttpci/Makefile drivers/usb/serial/ti_fw_3410.h drivers/usb/serial/ti_fw_5052.h drivers/usb/serial/ti_usb_3410_5052.c sound/pci/Kconfig sound/pci/maestro3.c sound/pci/ymfpci/ymfpci_main.c
2008-07-03Merge commit 'embedded/master'Stephen Rothwell
2008-07-03Merge commit 'block/for-next'Stephen Rothwell
2008-07-03Merge commit 'ubifs/for_andrew'Stephen Rothwell
2008-07-03Merge commit 'trivial/next'Stephen Rothwell
2008-07-03Merge commit 'bkl-removal/bkl-removal'Stephen Rothwell
Conflicts: fs/nfs/file.c
2008-07-03Merge commit 'semaphore-removal/semaphore-removal'Stephen Rothwell
Conflicts: drivers/net/ps3_gelic_wireless.c drivers/scsi/qla2xxx/qla_attr.c drivers/scsi/qla2xxx/qla_def.h drivers/scsi/qla2xxx/qla_mbx.c drivers/scsi/qla2xxx/qla_mid.c drivers/scsi/qla2xxx/qla_os.c
2008-07-03Merge commit 'semaphore/semaphore'Stephen Rothwell
2008-07-03Merge commit 'input/next'Stephen Rothwell
2008-07-03Merge commit 'gfs2/master'Stephen Rothwell
2008-07-03Merge commit 'mmc/next'Stephen Rothwell
2008-07-03Merge branch 'quilt/rr'Stephen Rothwell
Conflicts: drivers/char/hvc_console.h kernel/stop_machine.c
2008-07-03Merge commit 'cpufreq/next'Stephen Rothwell
Conflicts: drivers/cpufreq/cpufreq.c
2008-07-03Merge commit 'arm/devel'Stephen Rothwell
Conflicts: arch/arm/mach-at91/board-yl-9200.c
2008-07-03Merge commit 'sound/master'Stephen Rothwell
2008-07-03Merge commit 'crypto/master'Stephen Rothwell
2008-07-03Merge commit 'wireless/master'Stephen Rothwell
Conflicts: drivers/net/wireless/iwlwifi/iwl-4965.c drivers/net/wireless/iwlwifi/iwl3945-base.c
2008-07-03Merge commit 'mtd/master'Stephen Rothwell
2008-07-03Merge commit 'galak/powerpc-next'Stephen Rothwell
2008-07-03Merge commit 'sparc/master'Stephen Rothwell
Conflicts: include/asm-m68k/sbus.h
2008-07-03Merge commit 'net/master'Stephen Rothwell
Conflicts: Documentation/feature-removal-schedule.txt Documentation/powerpc/booting-without-of.txt drivers/net/fs_enet/fs_enet-main.c drivers/net/wireless/iwlwifi/iwl-4965.c
2008-07-03Merge commit 'ext4/next'Stephen Rothwell
2008-07-03Merge commit 'powerpc/powerpc-next'Stephen Rothwell
Conflicts: arch/powerpc/sysdev/fsl_soc.c drivers/macintosh/mediabay.c
2008-07-03Merge branch 'quilt/m68k'Stephen Rothwell