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
9f950734
Commit
9f950734
authored
Jan 26, 2004
by
Len Brown
Committed by
Len Brown
Jan 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] move zero initialized data to .bss
from Jes Sorensen
parent
4b61f684
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
18 additions
and
18 deletions
+18
-18
drivers/acpi/ac.c
drivers/acpi/ac.c
+1
-1
drivers/acpi/asus_acpi.c
drivers/acpi/asus_acpi.c
+4
-4
drivers/acpi/battery.c
drivers/acpi/battery.c
+1
-1
drivers/acpi/button.c
drivers/acpi/button.c
+1
-1
drivers/acpi/ec.c
drivers/acpi/ec.c
+1
-1
drivers/acpi/fan.c
drivers/acpi/fan.c
+1
-1
drivers/acpi/osl.c
drivers/acpi/osl.c
+4
-4
drivers/acpi/power.c
drivers/acpi/power.c
+1
-1
drivers/acpi/processor.c
drivers/acpi/processor.c
+1
-1
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+2
-2
drivers/acpi/toshiba_acpi.c
drivers/acpi/toshiba_acpi.c
+1
-1
No files found.
drivers/acpi/ac.c
View file @
9f950734
...
@@ -108,7 +108,7 @@ acpi_ac_get_state (
...
@@ -108,7 +108,7 @@ acpi_ac_get_state (
FS Interface (/proc)
FS Interface (/proc)
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_ac_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_ac_dir
;
int
acpi_ac_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
int
acpi_ac_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
{
...
...
drivers/acpi/asus_acpi.c
View file @
9f950734
...
@@ -73,8 +73,8 @@ MODULE_DESCRIPTION(ACPI_HOTK_NAME);
...
@@ -73,8 +73,8 @@ MODULE_DESCRIPTION(ACPI_HOTK_NAME);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
static
uid_t
asus_uid
=
0
;
static
uid_t
asus_uid
;
static
gid_t
asus_gid
=
0
;
static
gid_t
asus_gid
;
MODULE_PARM
(
asus_uid
,
"i"
);
MODULE_PARM
(
asus_uid
,
"i"
);
MODULE_PARM_DESC
(
uid
,
"UID for entries in /proc/acpi/asus.
\n
"
);
MODULE_PARM_DESC
(
uid
,
"UID for entries in /proc/acpi/asus.
\n
"
);
MODULE_PARM
(
asus_gid
,
"i"
);
MODULE_PARM
(
asus_gid
,
"i"
);
...
@@ -192,14 +192,14 @@ static struct model_data model_conf[END_MODEL] = {
...
@@ -192,14 +192,14 @@ static struct model_data model_conf[END_MODEL] = {
};
};
/* procdir we use */
/* procdir we use */
static
struct
proc_dir_entry
*
asus_proc_dir
=
NULL
;
static
struct
proc_dir_entry
*
asus_proc_dir
;
/*
/*
* This header is made available to allow proper configuration given model,
* This header is made available to allow proper configuration given model,
* revision number , ... this info cannot go in struct asus_hotk because it is
* revision number , ... this info cannot go in struct asus_hotk because it is
* available before the hotk
* available before the hotk
*/
*/
static
struct
acpi_table_header
*
asus_info
=
NULL
;
static
struct
acpi_table_header
*
asus_info
;
/*
/*
* The hotkey driver declaration
* The hotkey driver declaration
...
...
drivers/acpi/battery.c
View file @
9f950734
...
@@ -340,7 +340,7 @@ acpi_battery_check (
...
@@ -340,7 +340,7 @@ acpi_battery_check (
FS Interface (/proc)
FS Interface (/proc)
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_battery_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_battery_dir
;
static
int
static
int
acpi_battery_read_info
(
acpi_battery_read_info
(
...
...
drivers/acpi/button.c
View file @
9f950734
...
@@ -107,7 +107,7 @@ static struct file_operations acpi_button_state_fops = {
...
@@ -107,7 +107,7 @@ static struct file_operations acpi_button_state_fops = {
FS Interface (/proc)
FS Interface (/proc)
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
static
struct
proc_dir_entry
*
acpi_button_dir
=
NULL
;
static
struct
proc_dir_entry
*
acpi_button_dir
;
static
int
acpi_button_info_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
static
int
acpi_button_info_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
{
...
...
drivers/acpi/ec.c
View file @
9f950734
...
@@ -475,7 +475,7 @@ acpi_ec_space_handler (
...
@@ -475,7 +475,7 @@ acpi_ec_space_handler (
FS Interface (/proc)
FS Interface (/proc)
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_ec_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_ec_dir
;
static
int
static
int
...
...
drivers/acpi/fan.c
View file @
9f950734
...
@@ -71,7 +71,7 @@ struct acpi_fan {
...
@@ -71,7 +71,7 @@ struct acpi_fan {
FS Interface (/proc)
FS Interface (/proc)
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_fan_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_fan_dir
;
static
int
static
int
...
...
drivers/acpi/osl.c
View file @
9f950734
...
@@ -62,13 +62,13 @@ struct acpi_os_dpc
...
@@ -62,13 +62,13 @@ struct acpi_os_dpc
#ifdef ENABLE_DEBUGGER
#ifdef ENABLE_DEBUGGER
#include <linux/kdb.h>
#include <linux/kdb.h>
/* stuff for debugger support */
/* stuff for debugger support */
int
acpi_in_debugger
=
0
;
int
acpi_in_debugger
;
extern
char
line_buf
[
80
];
extern
char
line_buf
[
80
];
#endif
/*ENABLE_DEBUGGER*/
#endif
/*ENABLE_DEBUGGER*/
static
int
acpi_irq_irq
=
0
;
static
int
acpi_irq_irq
;
static
OSD_HANDLER
acpi_irq_handler
=
NULL
;
static
OSD_HANDLER
acpi_irq_handler
;
static
void
*
acpi_irq_context
=
NULL
;
static
void
*
acpi_irq_context
;
acpi_status
acpi_status
acpi_os_initialize
(
void
)
acpi_os_initialize
(
void
)
...
...
drivers/acpi/power.c
View file @
9f950734
...
@@ -387,7 +387,7 @@ acpi_power_transition (
...
@@ -387,7 +387,7 @@ acpi_power_transition (
FS Interface (/proc)
FS Interface (/proc)
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_power_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_power_dir
;
static
int
acpi_power_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
static
int
acpi_power_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
{
...
...
drivers/acpi/processor.c
View file @
9f950734
...
@@ -138,7 +138,7 @@ static struct file_operations acpi_processor_limit_fops = {
...
@@ -138,7 +138,7 @@ static struct file_operations acpi_processor_limit_fops = {
static
struct
acpi_processor
*
processors
[
NR_CPUS
];
static
struct
acpi_processor
*
processors
[
NR_CPUS
];
static
struct
acpi_processor_errata
errata
;
static
struct
acpi_processor_errata
errata
;
static
void
(
*
pm_idle_save
)(
void
)
=
NULL
;
static
void
(
*
pm_idle_save
)(
void
);
/* --------------------------------------------------------------------------
/* --------------------------------------------------------------------------
...
...
drivers/acpi/thermal.c
View file @
9f950734
...
@@ -74,7 +74,7 @@ MODULE_AUTHOR("Paul Diefenbaugh");
...
@@ -74,7 +74,7 @@ MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION
(
ACPI_THERMAL_DRIVER_NAME
);
MODULE_DESCRIPTION
(
ACPI_THERMAL_DRIVER_NAME
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
static
int
tzp
=
0
;
static
int
tzp
;
MODULE_PARM
(
tzp
,
"i"
);
MODULE_PARM
(
tzp
,
"i"
);
MODULE_PARM_DESC
(
tzp
,
"Thermal zone polling frequency, in 1/10 seconds.
\n
"
);
MODULE_PARM_DESC
(
tzp
,
"Thermal zone polling frequency, in 1/10 seconds.
\n
"
);
...
@@ -766,7 +766,7 @@ acpi_thermal_check (
...
@@ -766,7 +766,7 @@ acpi_thermal_check (
FS Interface (/proc)
FS Interface (/proc)
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
struct
proc_dir_entry
*
acpi_thermal_dir
=
NULL
;
struct
proc_dir_entry
*
acpi_thermal_dir
;
static
int
acpi_thermal_state_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
static
int
acpi_thermal_state_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
{
...
...
drivers/acpi/toshiba_acpi.c
View file @
9f950734
...
@@ -215,7 +215,7 @@ hci_read1(u32 reg, u32* out1, u32* result)
...
@@ -215,7 +215,7 @@ hci_read1(u32 reg, u32* out1, u32* result)
return
status
;
return
status
;
}
}
static
struct
proc_dir_entry
*
toshiba_proc_dir
=
NULL
;
static
struct
proc_dir_entry
*
toshiba_proc_dir
;
static
int
force_fan
;
static
int
force_fan
;
static
int
last_key_event
;
static
int
last_key_event
;
static
int
key_event_valid
;
static
int
key_event_valid
;
...
...
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