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
819a8739
Commit
819a8739
authored
Jun 22, 2003
by
Jes Sorensen
Committed by
David Mosberger
Jun 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: fix static initializers
No need to explicitly zero out global variables.
parent
e9d78a68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/ia64/kernel/efi.c
arch/ia64/kernel/efi.c
+1
-1
arch/ia64/kernel/efivars.c
arch/ia64/kernel/efivars.c
+1
-1
No files found.
arch/ia64/kernel/efi.c
View file @
819a8739
...
@@ -46,7 +46,7 @@ static efi_runtime_services_t *runtime;
...
@@ -46,7 +46,7 @@ static efi_runtime_services_t *runtime;
* prior to creating their own entries under /proc/efi.
* prior to creating their own entries under /proc/efi.
*/
*/
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_PROC_FS
struct
proc_dir_entry
*
efi_dir
=
NULL
;
struct
proc_dir_entry
*
efi_dir
;
#endif
#endif
static
unsigned
long
mem_limit
=
~
0UL
;
static
unsigned
long
mem_limit
=
~
0UL
;
...
...
arch/ia64/kernel/efivars.c
View file @
819a8739
...
@@ -119,7 +119,7 @@ typedef struct _efivar_entry_t {
...
@@ -119,7 +119,7 @@ typedef struct _efivar_entry_t {
*/
*/
static
spinlock_t
efivars_lock
=
SPIN_LOCK_UNLOCKED
;
static
spinlock_t
efivars_lock
=
SPIN_LOCK_UNLOCKED
;
static
LIST_HEAD
(
efivar_list
);
static
LIST_HEAD
(
efivar_list
);
static
struct
proc_dir_entry
*
efi_vars_dir
=
NULL
;
static
struct
proc_dir_entry
*
efi_vars_dir
;
#define efivar_entry(n) list_entry(n, efivar_entry_t, list)
#define efivar_entry(n) list_entry(n, efivar_entry_t, list)
...
...
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