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
nexedi
linux
Commits
793ca9b7
Commit
793ca9b7
authored
Sep 12, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Make sure cpu_data[0].udelay_val gets setup on non-SMP (found by bde@nwlink.com).
parent
7140df08
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
arch/sparc64/mm/init.c
arch/sparc64/mm/init.c
+0
-4
include/asm-sparc64/bugs.h
include/asm-sparc64/bugs.h
+10
-1
include/asm-sparc64/delay.h
include/asm-sparc64/delay.h
+0
-6
No files found.
arch/sparc64/mm/init.c
View file @
793ca9b7
...
@@ -1706,10 +1706,6 @@ void __init mem_init(void)
...
@@ -1706,10 +1706,6 @@ void __init mem_init(void)
unsigned
long
addr
,
last
;
unsigned
long
addr
,
last
;
int
i
;
int
i
;
#ifndef CONFIG_SMP
cpu_data
(
0
).
udelay_val
=
loops_per_jiffy
;
#endif
i
=
last_valid_pfn
>>
((
22
-
PAGE_SHIFT
)
+
6
);
i
=
last_valid_pfn
>>
((
22
-
PAGE_SHIFT
)
+
6
);
i
+=
1
;
i
+=
1
;
sparc64_valid_addr_bitmap
=
(
unsigned
long
*
)
sparc64_valid_addr_bitmap
=
(
unsigned
long
*
)
...
...
include/asm-sparc64/bugs.h
View file @
793ca9b7
...
@@ -4,4 +4,13 @@
...
@@ -4,4 +4,13 @@
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
*/
*/
static
void
check_bugs
(
void
)
{
}
#include <linux/config.h>
extern
unsigned
long
loops_per_jiffy
;
static
void
check_bugs
(
void
)
{
#ifndef CONFIG_SMP
cpu_data
(
0
).
udelay_val
=
loops_per_jiffy
;
#endif
}
include/asm-sparc64/delay.h
View file @
793ca9b7
...
@@ -13,12 +13,6 @@
...
@@ -13,12 +13,6 @@
#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
#ifdef CONFIG_SMP
#include <asm/smp.h>
#else
extern
unsigned
long
loops_per_jiffy
;
#endif
static
__inline__
void
__delay
(
unsigned
long
loops
)
static
__inline__
void
__delay
(
unsigned
long
loops
)
{
{
__asm__
__volatile__
(
__asm__
__volatile__
(
...
...
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