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
fd6f31c3
Commit
fd6f31c3
authored
Aug 04, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus
parents
9d343219
8edc81cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
drivers/acpi/dispatcher/dswload.c
drivers/acpi/dispatcher/dswload.c
+0
-6
drivers/acpi/osl.c
drivers/acpi/osl.c
+5
-1
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+7
-0
No files found.
drivers/acpi/dispatcher/dswload.c
View file @
fd6f31c3
...
@@ -491,12 +491,6 @@ acpi_ds_load2_begin_op (
...
@@ -491,12 +491,6 @@ acpi_ds_load2_begin_op (
if
((
!
(
walk_state
->
op_info
->
flags
&
AML_NSOPCODE
)
&&
if
((
!
(
walk_state
->
op_info
->
flags
&
AML_NSOPCODE
)
&&
(
walk_state
->
opcode
!=
AML_INT_NAMEPATH_OP
))
||
(
walk_state
->
opcode
!=
AML_INT_NAMEPATH_OP
))
||
(
!
(
walk_state
->
op_info
->
flags
&
AML_NAMED
)))
{
(
!
(
walk_state
->
op_info
->
flags
&
AML_NAMED
)))
{
if
((
walk_state
->
op_info
->
class
==
AML_CLASS_EXECUTE
)
||
(
walk_state
->
op_info
->
class
==
AML_CLASS_CONTROL
))
{
ACPI_REPORT_WARNING
((
"Encountered executable code at module level, [%s]
\n
"
,
acpi_ps_get_opcode_name
(
walk_state
->
opcode
)));
}
return_ACPI_STATUS
(
AE_OK
);
return_ACPI_STATUS
(
AE_OK
);
}
}
...
...
drivers/acpi/osl.c
View file @
fd6f31c3
...
@@ -145,10 +145,14 @@ acpi_os_vprintf(const char *fmt, va_list args)
...
@@ -145,10 +145,14 @@ acpi_os_vprintf(const char *fmt, va_list args)
#endif
#endif
}
}
extern
int
acpi_in_resume
;
void
*
void
*
acpi_os_allocate
(
acpi_size
size
)
acpi_os_allocate
(
acpi_size
size
)
{
{
return
kmalloc
(
size
,
GFP_KERNEL
);
if
(
acpi_in_resume
)
return
kmalloc
(
size
,
GFP_ATOMIC
);
else
return
kmalloc
(
size
,
GFP_KERNEL
);
}
}
void
void
...
...
drivers/acpi/pci_link.c
View file @
fd6f31c3
...
@@ -798,6 +798,11 @@ acpi_pci_link_resume(
...
@@ -798,6 +798,11 @@ acpi_pci_link_resume(
return_VALUE
(
0
);
return_VALUE
(
0
);
}
}
/*
* FIXME: this is a workaround to avoid nasty warning. It will be removed
* after every device calls pci_disable_device in .resume.
*/
int
acpi_in_resume
;
static
int
static
int
irqrouter_resume
(
irqrouter_resume
(
struct
sys_device
*
dev
)
struct
sys_device
*
dev
)
...
@@ -807,6 +812,7 @@ irqrouter_resume(
...
@@ -807,6 +812,7 @@ irqrouter_resume(
ACPI_FUNCTION_TRACE
(
"irqrouter_resume"
);
ACPI_FUNCTION_TRACE
(
"irqrouter_resume"
);
acpi_in_resume
=
1
;
list_for_each
(
node
,
&
acpi_link
.
entries
)
{
list_for_each
(
node
,
&
acpi_link
.
entries
)
{
link
=
list_entry
(
node
,
struct
acpi_pci_link
,
node
);
link
=
list_entry
(
node
,
struct
acpi_pci_link
,
node
);
if
(
!
link
)
{
if
(
!
link
)
{
...
@@ -816,6 +822,7 @@ irqrouter_resume(
...
@@ -816,6 +822,7 @@ irqrouter_resume(
}
}
acpi_pci_link_resume
(
link
);
acpi_pci_link_resume
(
link
);
}
}
acpi_in_resume
=
0
;
return_VALUE
(
0
);
return_VALUE
(
0
);
}
}
...
...
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