diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-04-02 15:56:32 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-04-02 15:56:32 +0100 |
commit | 06490f43250dddc40b4aaf0ff4995991f94e170a (patch) | |
tree | 4d9abe0a2ff1bc8940fbf843a9a9abe59a76daf7 /xen/include/xen/serial.h | |
parent | e1fe30b87def91bde70f793dc22b6b1f73c4b3ca (diff) | |
download | xen-06490f43250dddc40b4aaf0ff4995991f94e170a.tar.gz xen-06490f43250dddc40b4aaf0ff4995991f94e170a.tar.bz2 xen-06490f43250dddc40b4aaf0ff4995991f94e170a.zip |
move setup_irq() into .init.text
With no modular drivers, all interrupt setup is supposed to happen
during boot.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/serial.h')
-rw-r--r-- | xen/include/xen/serial.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/serial.h b/xen/include/xen/serial.h index f371b42c7b..15f7f12275 100644 --- a/xen/include/xen/serial.h +++ b/xen/include/xen/serial.h @@ -51,6 +51,9 @@ struct uart_driver { void (*init_postirq)(struct serial_port *); /* Hook to clean up after Xen bootstrap (before domain 0 runs). */ void (*endboot)(struct serial_port *); + /* Driver suspend/resume. */ + void (*suspend)(struct serial_port *); + void (*resume)(struct serial_port *); /* Transmit FIFO ready to receive up to @tx_fifo_size characters? */ int (*tx_empty)(struct serial_port *); /* Put a character onto the serial line. */ |