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
6c192938
Commit
6c192938
authored
Jul 09, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix up include/asm-arm/param.h (and sub-architecture param.h)
for 2.5.25 HZ/USER_HZ changes.
parent
67e6a076
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
25 additions
and
50 deletions
+25
-50
include/asm-arm/arch-adifcc/param.h
include/asm-arm/arch-adifcc/param.h
+1
-1
include/asm-arm/arch-anakin/param.h
include/asm-arm/arch-anakin/param.h
+0
-5
include/asm-arm/arch-arc/param.h
include/asm-arm/arch-arc/param.h
+1
-1
include/asm-arm/arch-cl7500/param.h
include/asm-arm/arch-cl7500/param.h
+1
-3
include/asm-arm/arch-clps711x/param.h
include/asm-arm/arch-clps711x/param.h
+0
-2
include/asm-arm/arch-ebsa110/param.h
include/asm-arm/arch-ebsa110/param.h
+1
-1
include/asm-arm/arch-ebsa285/param.h
include/asm-arm/arch-ebsa285/param.h
+1
-1
include/asm-arm/arch-epxa10db/param.h
include/asm-arm/arch-epxa10db/param.h
+0
-2
include/asm-arm/arch-integrator/param.h
include/asm-arm/arch-integrator/param.h
+0
-2
include/asm-arm/arch-iop310/param.h
include/asm-arm/arch-iop310/param.h
+1
-1
include/asm-arm/arch-l7200/param.h
include/asm-arm/arch-l7200/param.h
+2
-15
include/asm-arm/arch-nexuspci/param.h
include/asm-arm/arch-nexuspci/param.h
+1
-1
include/asm-arm/arch-rpc/param.h
include/asm-arm/arch-rpc/param.h
+1
-1
include/asm-arm/arch-sa1100/param.h
include/asm-arm/arch-sa1100/param.h
+1
-1
include/asm-arm/arch-shark/param.h
include/asm-arm/arch-shark/param.h
+1
-4
include/asm-arm/arch-tbox/param.h
include/asm-arm/arch-tbox/param.h
+4
-1
include/asm-arm/param.h
include/asm-arm/param.h
+9
-8
No files found.
include/asm-arm/arch-adifcc/param.h
View file @
6c192938
include/asm-arm/arch-anakin/param.h
View file @
6c192938
...
...
@@ -11,11 +11,6 @@
* 11-Apr-2001 TTC Created
*/
#ifndef __ASM_ARCH_PARAM_H
#define __ASM_ARCH_PARAM_H
/*
* Reserved for future use
*/
#endif
include/asm-arm/arch-arc/param.h
View file @
6c192938
include/asm-arm/arch-cl7500/param.h
View file @
6c192938
...
...
@@ -3,5 +3,3 @@
*
* Copyright (C) 1999 Nexus Electronics Ltd
*/
#define HZ 100
include/asm-arm/arch-clps711x/param.h
View file @
6c192938
...
...
@@ -17,5 +17,3 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define HZ 100
include/asm-arm/arch-ebsa110/param.h
View file @
6c192938
include/asm-arm/arch-ebsa285/param.h
View file @
6c192938
include/asm-arm/arch-epxa10db/param.h
View file @
6c192938
...
...
@@ -17,5 +17,3 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define HZ 100
include/asm-arm/arch-integrator/param.h
View file @
6c192938
...
...
@@ -17,5 +17,3 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define HZ 100
include/asm-arm/arch-iop310/param.h
View file @
6c192938
include/asm-arm/arch-l7200/param.h
View file @
6c192938
...
...
@@ -12,21 +12,8 @@
* 04-25-2000 SJH Cleaned up file
* 05-03-2000 SJH Change comments and rate
*/
#ifndef __ASM_ARCH_PARAM_H
#define __ASM_ARCH_PARAM_H
/*
* See 'time.h' for how the RTC HZ rate is set
*/
#define HZ 128
/*
* Define hz_to_std, since we have a non 100Hz define
* (see include/asm-arm/param.h)
*/
#if defined(__KERNEL__)
#define hz_to_std(a) ((a * HZ)/100)
#endif
#endif
#define __KERNEL_HZ 128
include/asm-arm/arch-nexuspci/param.h
View file @
6c192938
include/asm-arm/arch-rpc/param.h
View file @
6c192938
include/asm-arm/arch-sa1100/param.h
View file @
6c192938
include/asm-arm/arch-shark/param.h
View file @
6c192938
...
...
@@ -3,6 +3,3 @@
*
* by Alexander Schulz
*/
#define HZ 100
include/asm-arm/arch-tbox/param.h
View file @
6c192938
#define HZ 1000
/*
* linux/include/asm-arm/arch-tbox/param.h
*/
#define __KERNEL_HZ 1000
include/asm-arm/param.h
View file @
6c192938
...
...
@@ -13,11 +13,16 @@
#include <asm/arch/param.h>
/* for HZ */
#include <asm/proc/page.h>
/* for EXEC_PAGE_SIZE */
#ifndef HZ
#define
HZ
100
#ifndef
__KERNEL_
HZ
#define
__KERNEL_HZ
100
#endif
#if defined(__KERNEL__) && (HZ == 100)
#define hz_to_std(a) (a)
#ifdef __KERNEL__
# define HZ __KERNEL_HZ
/* Internal kernel timer frequency */
# define USER_HZ 100
/* User interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ)
/* like times() */
#else
# define HZ 100
#endif
#ifndef NGROUPS
...
...
@@ -31,9 +36,5 @@
/* max length of hostname */
#define MAXHOSTNAMELEN 64
#ifdef __KERNEL__
# define CLOCKS_PER_SEC HZ
#endif
#endif
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