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
145dea00
Commit
145dea00
authored
Nov 16, 2007
by
David S. Miller
Committed by
David S. Miller
Feb 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Merge asm-sparc{,64}/bugs.h
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
e10195c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
include/asm-sparc/bugs.h
include/asm-sparc/bugs.h
+13
-5
include/asm-sparc64/bugs.h
include/asm-sparc64/bugs.h
+1
-10
No files found.
include/asm-sparc/bugs.h
View file @
145dea00
/* $Id: bugs.h,v 1.1 1996/12/26 13:25:20 davem Exp $
* include/asm-sparc/bugs.h: Sparc probes for various bugs.
/* include/asm-sparc/bugs.h: Sparc probes for various bugs.
*
*
Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu
)
*
Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net
)
*/
#ifdef CONFIG_SPARC32
#include <asm/cpudata.h>
#endif
#ifdef CONFIG_SPARC64
#include <asm/sstate.h>
#endif
extern
unsigned
long
loops_per_jiffy
;
static
void
check_bugs
(
void
)
static
void
__init
check_bugs
(
void
)
{
#if
ndef CONFIG_SMP
#if
defined(CONFIG_SPARC32) && !defined(CONFIG_SMP)
cpu_data
(
0
).
udelay_val
=
loops_per_jiffy
;
#endif
#ifdef CONFIG_SPARC64
sstate_running
();
#endif
}
include/asm-sparc64/bugs.h
View file @
145dea00
/* bugs.h: Sparc64 probes for various bugs.
*
* Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
*/
#include <asm/sstate.h>
static
void
__init
check_bugs
(
void
)
{
sstate_running
();
}
#include <asm-sparc/bugs.h>
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