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
nexedi
linux
Commits
c542ad7c
Commit
c542ad7c
authored
Apr 20, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Apr 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] irqs: ipmi driver
Update the ipmi driver to the new IRQ API
parent
0246417d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/char/ipmi/ipmi_kcs_intf.c
drivers/char/ipmi/ipmi_kcs_intf.c
+4
-1
No files found.
drivers/char/ipmi/ipmi_kcs_intf.c
View file @
c542ad7c
...
...
@@ -629,6 +629,7 @@ static void request_events(void *send_info)
atomic_set
(
&
kcs_info
->
req_events
,
1
);
}
#if 0
static int new_user(void *send_info)
{
if (!try_module_get(THIS_MODULE))
...
...
@@ -640,6 +641,7 @@ static void user_left(void *send_info)
{
module_put(THIS_MODULE);
}
#endif
static
int
initialized
=
0
;
...
...
@@ -740,7 +742,7 @@ static void kcs_timeout(unsigned long data)
spin_unlock_irqrestore
(
&
(
kcs_info
->
kcs_lock
),
flags
);
}
static
void
kcs_irq_handler
(
int
irq
,
void
*
data
,
struct
pt_regs
*
regs
)
static
irqreturn_t
kcs_irq_handler
(
int
irq
,
void
*
data
,
struct
pt_regs
*
regs
)
{
struct
kcs_info
*
kcs_info
=
(
struct
kcs_info
*
)
data
;
unsigned
long
flags
;
...
...
@@ -759,6 +761,7 @@ static void kcs_irq_handler(int irq, void *data, struct pt_regs *regs)
kcs_event_handler
(
kcs_info
,
0
);
out:
spin_unlock_irqrestore
(
&
(
kcs_info
->
kcs_lock
),
flags
);
return
IRQ_HANDLED
;
}
static
struct
ipmi_smi_handlers
handlers
=
...
...
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