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
2905d379
Commit
2905d379
authored
Aug 18, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: In solaris module use sparc64_get_clock_tick() to get cpu frequency.
parent
d9a86ecc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/kernel/sparc64_ksyms.c
+0
-1
arch/sparc64/solaris/misc.c
arch/sparc64/solaris/misc.c
+1
-2
No files found.
arch/sparc64/kernel/sparc64_ksyms.c
View file @
2905d379
...
@@ -320,7 +320,6 @@ EXPORT_SYMBOL(sys_getegid);
...
@@ -320,7 +320,6 @@ EXPORT_SYMBOL(sys_getegid);
EXPORT_SYMBOL
(
sys_getgid
);
EXPORT_SYMBOL
(
sys_getgid
);
EXPORT_SYMBOL
(
svr4_getcontext
);
EXPORT_SYMBOL
(
svr4_getcontext
);
EXPORT_SYMBOL
(
svr4_setcontext
);
EXPORT_SYMBOL
(
svr4_setcontext
);
EXPORT_SYMBOL
(
prom_cpu_nodes
);
EXPORT_SYMBOL
(
sys_ioctl
);
EXPORT_SYMBOL
(
sys_ioctl
);
EXPORT_SYMBOL
(
compat_sys_ioctl
);
EXPORT_SYMBOL
(
compat_sys_ioctl
);
EXPORT_SYMBOL
(
sparc32_open
);
EXPORT_SYMBOL
(
sparc32_open
);
...
...
arch/sparc64/solaris/misc.c
View file @
2905d379
...
@@ -349,8 +349,7 @@ asmlinkage int solaris_sysconf(int id)
...
@@ -349,8 +349,7 @@ asmlinkage int solaris_sysconf(int id)
case
SOLARIS_CONFIG_XOPEN_VER
:
return
3
;
case
SOLARIS_CONFIG_XOPEN_VER
:
return
3
;
case
SOLARIS_CONFIG_CLK_TCK
:
case
SOLARIS_CONFIG_CLK_TCK
:
case
SOLARIS_CONFIG_PROF_TCK
:
case
SOLARIS_CONFIG_PROF_TCK
:
return
prom_getintdefault
(
prom_cpu_nodes
[
smp_processor_id
()],
return
sparc64_get_clock_tick
(
smp_processor_id
());
"clock-frequency"
,
167000000
);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
case
SOLARIS_CONFIG_NPROC_CONF
:
return
NR_CPUS
;
case
SOLARIS_CONFIG_NPROC_CONF
:
return
NR_CPUS
;
case
SOLARIS_CONFIG_NPROC_ONLN
:
return
num_online_cpus
();
case
SOLARIS_CONFIG_NPROC_ONLN
:
return
num_online_cpus
();
...
...
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