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
a6a9e076
Commit
a6a9e076
authored
Oct 27, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux-pnp.bkbits.net/pnp-stable
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
2ecc0e4a
e65c867f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
drivers/pnp/pnpbios/core.c
drivers/pnp/pnpbios/core.c
+10
-2
No files found.
drivers/pnp/pnpbios/core.c
View file @
a6a9e076
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
#include <linux/completion.h>
#include <linux/completion.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/dmi.h>
#include <linux/dmi.h>
#include <linux/delay.h>
#include <asm/page.h>
#include <asm/page.h>
#include <asm/desc.h>
#include <asm/desc.h>
...
@@ -177,8 +178,7 @@ static int pnp_dock_thread(void * unused)
...
@@ -177,8 +178,7 @@ static int pnp_dock_thread(void * unused)
/*
/*
* Poll every 2 seconds
* Poll every 2 seconds
*/
*/
set_current_state
(
TASK_INTERRUPTIBLE
);
msleep_interruptible
(
2000
);
schedule_timeout
(
HZ
*
2
);
if
(
signal_pending
(
current
))
if
(
signal_pending
(
current
))
break
;
break
;
...
@@ -538,6 +538,14 @@ int __init pnpbios_init(void)
...
@@ -538,6 +538,14 @@ int __init pnpbios_init(void)
return
-
ENODEV
;
return
-
ENODEV
;
}
}
#ifdef CONFIG_ACPI
if
(
!
acpi_disabled
)
{
pnpbios_disabled
=
1
;
printk
(
KERN_INFO
"PnPBIOS: Disabled by ACPI
\n
"
);
return
-
ENODEV
;
}
#endif
/* CONFIG_ACPI */
/* scan the system for pnpbios support */
/* scan the system for pnpbios support */
if
(
!
pnpbios_probe_system
())
if
(
!
pnpbios_probe_system
())
return
-
ENODEV
;
return
-
ENODEV
;
...
...
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