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
afec654b
Commit
afec654b
authored
Feb 12, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[WATCHDOG] More panic -> shutdown replacements in pcwd.c
parent
2b81792f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
drivers/char/watchdog/pcwd.c
drivers/char/watchdog/pcwd.c
+8
-4
No files found.
drivers/char/watchdog/pcwd.c
View file @
afec654b
...
@@ -278,8 +278,10 @@ static int pcwd_ioctl(struct inode *inode, struct file *file,
...
@@ -278,8 +278,10 @@ static int pcwd_ioctl(struct inode *inode, struct file *file,
{
{
rv
|=
WDIOF_OVERHEAT
;
rv
|=
WDIOF_OVERHEAT
;
if
(
temp_panic
)
if
(
temp_panic
)
{
panic
(
"pcwd: Temperature overheat trip!
\n
"
);
printk
(
KERN_INFO
"pcwd: Temperature overheat trip!
\n
"
);
machine_power_off
();
}
}
}
}
}
else
else
...
@@ -291,8 +293,10 @@ static int pcwd_ioctl(struct inode *inode, struct file *file,
...
@@ -291,8 +293,10 @@ static int pcwd_ioctl(struct inode *inode, struct file *file,
{
{
rv
|=
WDIOF_OVERHEAT
;
rv
|=
WDIOF_OVERHEAT
;
if
(
temp_panic
)
if
(
temp_panic
)
{
panic
(
"pcwd: Temperature overheat trip!
\n
"
);
printk
(
KERN_INFO
"pcwd: Temperature overheat trip!
\n
"
);
machine_power_off
();
}
}
}
}
}
...
...
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