Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7eaf8cd5
Commit
7eaf8cd5
authored
Sep 01, 2003
by
Greg Ungerer
Committed by
Linus Torvalds
Sep 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] irqreturn_t fixes for m68knommu irq.h
parent
613d1564
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
include/asm-m68knommu/irq.h
include/asm-m68knommu/irq.h
+4
-3
No files found.
include/asm-m68knommu/irq.h
View file @
7eaf8cd5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
#define _M68K_IRQ_H_
#define _M68K_IRQ_H_
#include <linux/config.h>
#include <linux/config.h>
#include <linux/interrupt.h>
#include <asm/ptrace.h>
#include <asm/ptrace.h>
#ifdef CONFIG_COLDFIRE
#ifdef CONFIG_COLDFIRE
...
@@ -62,7 +63,7 @@ extern void (*mach_enable_irq)(unsigned int);
...
@@ -62,7 +63,7 @@ extern void (*mach_enable_irq)(unsigned int);
extern
void
(
*
mach_disable_irq
)(
unsigned
int
);
extern
void
(
*
mach_disable_irq
)(
unsigned
int
);
extern
int
sys_request_irq
(
unsigned
int
,
extern
int
sys_request_irq
(
unsigned
int
,
void
(
*
)(
int
,
void
*
,
struct
pt_regs
*
),
irqreturn_t
(
*
)(
int
,
void
*
,
struct
pt_regs
*
),
unsigned
long
,
const
char
*
,
void
*
);
unsigned
long
,
const
char
*
,
void
*
);
extern
void
sys_free_irq
(
unsigned
int
,
void
*
);
extern
void
sys_free_irq
(
unsigned
int
,
void
*
);
...
@@ -91,7 +92,7 @@ extern void sys_free_irq(unsigned int, void *);
...
@@ -91,7 +92,7 @@ extern void sys_free_irq(unsigned int, void *);
* interrupt source (if it supports chaining).
* interrupt source (if it supports chaining).
*/
*/
typedef
struct
irq_node
{
typedef
struct
irq_node
{
void
(
*
handler
)(
int
,
void
*
,
struct
pt_regs
*
);
irqreturn_t
(
*
handler
)(
int
,
void
*
,
struct
pt_regs
*
);
unsigned
long
flags
;
unsigned
long
flags
;
void
*
dev_id
;
void
*
dev_id
;
const
char
*
devname
;
const
char
*
devname
;
...
@@ -102,7 +103,7 @@ typedef struct irq_node {
...
@@ -102,7 +103,7 @@ typedef struct irq_node {
* This structure has only 4 elements for speed reasons
* This structure has only 4 elements for speed reasons
*/
*/
typedef
struct
irq_handler
{
typedef
struct
irq_handler
{
void
(
*
handler
)(
int
,
void
*
,
struct
pt_regs
*
);
irqreturn_t
(
*
handler
)(
int
,
void
*
,
struct
pt_regs
*
);
unsigned
long
flags
;
unsigned
long
flags
;
void
*
dev_id
;
void
*
dev_id
;
const
char
*
devname
;
const
char
*
devname
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment