Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
3be11c8f
Commit
3be11c8f
authored
Dec 20, 2006
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull bugfix into test branch
parents
706b75dd
6796a120
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
drivers/acpi/Kconfig
drivers/acpi/Kconfig
+1
-1
drivers/acpi/osl.c
drivers/acpi/osl.c
+1
-1
drivers/acpi/pci_root.c
drivers/acpi/pci_root.c
+5
-4
drivers/acpi/processor_core.c
drivers/acpi/processor_core.c
+2
-2
No files found.
drivers/acpi/Kconfig
View file @
3be11c8f
...
...
@@ -11,7 +11,7 @@ config ACPI
bool "ACPI Support"
depends on IA64 || X86
depends on PCI
select
PM
depends on
PM
default y
---help---
Advanced Configuration and Power Interface (ACPI) support for
...
...
drivers/acpi/osl.c
View file @
3be11c8f
...
...
@@ -1032,7 +1032,7 @@ acpi_status
acpi_os_create_cache
(
char
*
name
,
u16
size
,
u16
depth
,
acpi_cache_t
**
cache
)
{
*
cache
=
kmem_cache_create
(
name
,
size
,
0
,
0
,
NULL
,
NULL
);
if
(
cache
==
NULL
)
if
(
*
cache
==
NULL
)
return
AE_ERROR
;
else
return
AE_OK
;
...
...
drivers/acpi/pci_root.c
View file @
3be11c8f
...
...
@@ -98,11 +98,12 @@ void acpi_pci_unregister_driver(struct acpi_pci_driver *driver)
struct
acpi_pci_driver
**
pptr
=
&
sub_driver
;
while
(
*
pptr
)
{
if
(
*
pptr
!=
driver
)
continue
;
*
pptr
=
(
*
pptr
)
->
next
;
break
;
if
(
*
pptr
==
driver
)
break
;
pptr
=
&
(
*
pptr
)
->
next
;
}
BUG_ON
(
!*
pptr
);
*
pptr
=
(
*
pptr
)
->
next
;
if
(
!
driver
->
remove
)
return
;
...
...
drivers/acpi/processor_core.c
View file @
3be11c8f
...
...
@@ -901,13 +901,13 @@ static int __init acpi_processor_init(void)
acpi_processor_dir
=
proc_mkdir
(
ACPI_PROCESSOR_CLASS
,
acpi_root_dir
);
if
(
!
acpi_processor_dir
)
return
0
;
return
-
ENOMEM
;
acpi_processor_dir
->
owner
=
THIS_MODULE
;
result
=
acpi_bus_register_driver
(
&
acpi_processor_driver
);
if
(
result
<
0
)
{
remove_proc_entry
(
ACPI_PROCESSOR_CLASS
,
acpi_root_dir
);
return
0
;
return
result
;
}
acpi_processor_install_hotplug_notify
();
...
...
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