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
5ff0d55f
Commit
5ff0d55f
authored
Sep 09, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc32: Delete claim_ticker14().
No more users. Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
b218fa0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
46 deletions
+0
-46
arch/sparc/kernel/tick14.c
arch/sparc/kernel/tick14.c
+0
-46
No files found.
arch/sparc/kernel/tick14.c
View file @
5ff0d55f
/* tick14.c
* linux/arch/sparc/kernel/tick14.c
*
* Copyright (C) 1996 David Redman (djhr@tadpole.co.uk)
*
* This file handles the Sparc specific level14 ticker
* This is really useful for profiling OBP uses it for keyboard
* aborts and other stuff.
*
*
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/timex.h>
#include <linux/interrupt.h>
#include <asm/oplib.h>
#include <asm/timer.h>
#include <asm/system.h>
#include <asm/irq.h>
#include <asm/io.h>
#include "irq.h"
extern
unsigned
long
lvl14_save
[
5
];
static
unsigned
long
*
linux_lvl14
=
NULL
;
...
...
@@ -55,31 +37,3 @@ void install_obp_ticker(void)
linux_lvl14
[
2
]
=
obp_lvl14
[
2
];
linux_lvl14
[
3
]
=
obp_lvl14
[
3
];
}
void
claim_ticker14
(
irq_handler_t
handler
,
int
irq_nr
,
unsigned
int
timeout
)
{
int
cpu
=
smp_processor_id
();
/* first we copy the obp handler instructions
*/
__disable_irq
(
irq_nr
);
if
(
!
handler
)
return
;
linux_lvl14
=
(
unsigned
long
*
)
lvl14_save
[
4
];
obp_lvl14
[
0
]
=
linux_lvl14
[
0
];
obp_lvl14
[
1
]
=
linux_lvl14
[
1
];
obp_lvl14
[
2
]
=
linux_lvl14
[
2
];
obp_lvl14
[
3
]
=
linux_lvl14
[
3
];
if
(
!
request_irq
(
irq_nr
,
handler
,
(
IRQF_DISABLED
|
SA_STATIC_ALLOC
),
"counter14"
,
NULL
))
{
install_linux_ticker
();
load_profile_irq
(
cpu
,
timeout
);
__enable_irq
(
irq_nr
);
}
}
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