Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
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>
|
|
Move more bits into the tty_port structure
Signed-off-by: Alan Cox <alan@redhat.com>
|
|
Fix up the termios of the people who have not yet got with the program
Signed-off-by: Alan Cox <alan@redhat.com>
|
|
Switch cyclades to use the new tty_port structure
Signed-off-by: Alan Cox <alan@redhat.com>
|
|
Switch the stallion driver to use the tty_port structure
Signed-off-by: Alan Cox <alan@redhat.com>
|
|
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>
|
|
Switch istallion to use the new tty_port structure
Signed-off-by: Alan Cox <alan@redhat.com>
|
|
Switch drivers using the old "generic serial" driver to use the tty_port
structures
Signed-off-by: Alan Cox <alan@redhat.com>
|
|
Switch esp to use the new tty_port structures
Signed-off-by: Alan Cox <alan@redhat.com>
|
|
Coding style clean up and white space tidy
Signed-off-by: Alan Cox <alan@redhat.com>
|
|
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>
|
|
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>
|
|
This reverts commit f2ff8984179fe447fc991c34718652e3079e6236.
|
|
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
|
|
Conflicts:
arch/x86/mm/Makefile
include/asm-x86/pgtable.h
kernel/sysctl.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Conflicts:
fs/nfs/file.c
|
|
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
|
|
|
|
|
|
|
|
|
|
Conflicts:
drivers/char/hvc_console.h
kernel/stop_machine.c
|
|
Conflicts:
drivers/cpufreq/cpufreq.c
|
|
Conflicts:
arch/arm/mach-at91/board-yl-9200.c
|
|
|
|
|
|
Conflicts:
drivers/net/wireless/iwlwifi/iwl-4965.c
drivers/net/wireless/iwlwifi/iwl3945-base.c
|
|
|
|
|
|
Conflicts:
include/asm-m68k/sbus.h
|
|
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
|
|
|
|
Conflicts:
arch/powerpc/sysdev/fsl_soc.c
drivers/macintosh/mediabay.c
|
|
|