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
0832a19b
Commit
0832a19b
authored
Sep 29, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Rename private init_timers to sparc{,64}_init_timers.
parent
155ee8a0
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
13 deletions
+10
-13
arch/sparc/kernel/irq.c
arch/sparc/kernel/irq.c
+1
-1
arch/sparc/kernel/sun4c_irq.c
arch/sparc/kernel/sun4c_irq.c
+1
-1
arch/sparc/kernel/sun4m_irq.c
arch/sparc/kernel/sun4m_irq.c
+1
-1
arch/sparc/kernel/time.c
arch/sparc/kernel/time.c
+1
-1
arch/sparc64/kernel/irq.c
arch/sparc64/kernel/irq.c
+2
-2
arch/sparc64/kernel/time.c
arch/sparc64/kernel/time.c
+1
-4
include/asm-sparc/irq.h
include/asm-sparc/irq.h
+1
-1
include/asm-sparc64/irq.h
include/asm-sparc64/irq.h
+2
-2
No files found.
arch/sparc/kernel/irq.c
View file @
0832a19b
...
@@ -75,7 +75,7 @@ static void irq_panic(void)
...
@@ -75,7 +75,7 @@ static void irq_panic(void)
prom_halt
();
prom_halt
();
}
}
void
(
*
init_timers
)(
void
(
*
)(
int
,
void
*
,
struct
pt_regs
*
))
=
void
(
*
sparc_
init_timers
)(
void
(
*
)(
int
,
void
*
,
struct
pt_regs
*
))
=
(
void
(
*
)(
void
(
*
)(
int
,
void
*
,
struct
pt_regs
*
)))
irq_panic
;
(
void
(
*
)(
void
(
*
)(
int
,
void
*
,
struct
pt_regs
*
)))
irq_panic
;
/*
/*
...
...
arch/sparc/kernel/sun4c_irq.c
View file @
0832a19b
...
@@ -221,7 +221,7 @@ void __init sun4c_init_IRQ(void)
...
@@ -221,7 +221,7 @@ void __init sun4c_init_IRQ(void)
BTFIXUPSET_CALL
(
clear_profile_irq
,
sun4c_clear_profile_irq
,
BTFIXUPCALL_NOP
);
BTFIXUPSET_CALL
(
clear_profile_irq
,
sun4c_clear_profile_irq
,
BTFIXUPCALL_NOP
);
BTFIXUPSET_CALL
(
load_profile_irq
,
sun4c_load_profile_irq
,
BTFIXUPCALL_NOP
);
BTFIXUPSET_CALL
(
load_profile_irq
,
sun4c_load_profile_irq
,
BTFIXUPCALL_NOP
);
BTFIXUPSET_CALL
(
__irq_itoa
,
sun4m_irq_itoa
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
__irq_itoa
,
sun4m_irq_itoa
,
BTFIXUPCALL_NORM
);
init_timers
=
sun4c_init_timers
;
sparc_
init_timers
=
sun4c_init_timers
;
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
BTFIXUPSET_CALL
(
set_cpu_int
,
sun4c_nop
,
BTFIXUPCALL_NOP
);
BTFIXUPSET_CALL
(
set_cpu_int
,
sun4c_nop
,
BTFIXUPCALL_NOP
);
BTFIXUPSET_CALL
(
clear_cpu_int
,
sun4c_nop
,
BTFIXUPCALL_NOP
);
BTFIXUPSET_CALL
(
clear_cpu_int
,
sun4c_nop
,
BTFIXUPCALL_NOP
);
...
...
arch/sparc/kernel/sun4m_irq.c
View file @
0832a19b
...
@@ -374,7 +374,7 @@ void __init sun4m_init_IRQ(void)
...
@@ -374,7 +374,7 @@ void __init sun4m_init_IRQ(void)
BTFIXUPSET_CALL
(
clear_profile_irq
,
sun4m_clear_profile_irq
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
clear_profile_irq
,
sun4m_clear_profile_irq
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
load_profile_irq
,
sun4m_load_profile_irq
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
load_profile_irq
,
sun4m_load_profile_irq
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
__irq_itoa
,
sun4m_irq_itoa
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
__irq_itoa
,
sun4m_irq_itoa
,
BTFIXUPCALL_NORM
);
init_timers
=
sun4m_init_timers
;
sparc_
init_timers
=
sun4m_init_timers
;
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
BTFIXUPSET_CALL
(
set_cpu_int
,
sun4m_send_ipi
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
set_cpu_int
,
sun4m_send_ipi
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
clear_cpu_int
,
sun4m_clear_ipi
,
BTFIXUPCALL_NORM
);
BTFIXUPSET_CALL
(
clear_cpu_int
,
sun4m_clear_ipi
,
BTFIXUPCALL_NORM
);
...
...
arch/sparc/kernel/time.c
View file @
0832a19b
...
@@ -386,7 +386,7 @@ void __init sbus_time_init(void)
...
@@ -386,7 +386,7 @@ void __init sbus_time_init(void)
else
else
clock_probe
();
clock_probe
();
init_timers
(
timer_interrupt
);
sparc_
init_timers
(
timer_interrupt
);
#ifdef CONFIG_SUN4
#ifdef CONFIG_SUN4
if
(
idprom
->
id_machtype
==
(
SM_SUN4
|
SM_4_330
))
{
if
(
idprom
->
id_machtype
==
(
SM_SUN4
|
SM_4_330
))
{
...
...
arch/sparc64/kernel/irq.c
View file @
0832a19b
...
@@ -950,7 +950,7 @@ int probe_irq_off(unsigned long mask)
...
@@ -950,7 +950,7 @@ int probe_irq_off(unsigned long mask)
}
}
/* This is gets the master TICK_INT timer going. */
/* This is gets the master TICK_INT timer going. */
void
init_timers
(
void
(
*
cfunc
)(
int
,
void
*
,
struct
pt_regs
*
),
void
sparc64_
init_timers
(
void
(
*
cfunc
)(
int
,
void
*
,
struct
pt_regs
*
),
unsigned
long
*
clock
)
unsigned
long
*
clock
)
{
{
unsigned
long
pstate
;
unsigned
long
pstate
;
...
...
arch/sparc64/kernel/time.c
View file @
0832a19b
...
@@ -617,9 +617,6 @@ void __init clock_probe(void)
...
@@ -617,9 +617,6 @@ void __init clock_probe(void)
local_irq_restore
(
flags
);
local_irq_restore
(
flags
);
}
}
extern
void
init_timers
(
void
(
*
func
)(
int
,
void
*
,
struct
pt_regs
*
),
unsigned
long
*
);
void
__init
time_init
(
void
)
void
__init
time_init
(
void
)
{
{
/* clock_probe() is now done at end of [se]bus_init on sparc64
/* clock_probe() is now done at end of [se]bus_init on sparc64
...
@@ -628,7 +625,7 @@ void __init time_init(void)
...
@@ -628,7 +625,7 @@ void __init time_init(void)
*/
*/
unsigned
long
clock
;
unsigned
long
clock
;
init_timers
(
timer_interrupt
,
&
clock
);
sparc64_
init_timers
(
timer_interrupt
,
&
clock
);
timer_ticks_per_usec_quotient
=
((
1UL
<<
32
)
/
(
clock
/
1000020
));
timer_ticks_per_usec_quotient
=
((
1UL
<<
32
)
/
(
clock
/
1000020
));
}
}
...
...
include/asm-sparc/irq.h
View file @
0832a19b
...
@@ -47,7 +47,7 @@ BTFIXUPDEF_CALL(void, load_profile_irq, int, unsigned int)
...
@@ -47,7 +47,7 @@ BTFIXUPDEF_CALL(void, load_profile_irq, int, unsigned int)
#define clear_profile_irq(cpu) BTFIXUP_CALL(clear_profile_irq)(cpu)
#define clear_profile_irq(cpu) BTFIXUP_CALL(clear_profile_irq)(cpu)
#define load_profile_irq(cpu,limit) BTFIXUP_CALL(load_profile_irq)(cpu,limit)
#define load_profile_irq(cpu,limit) BTFIXUP_CALL(load_profile_irq)(cpu,limit)
extern
void
(
*
init_timers
)(
void
(
*
lvl10_irq
)(
int
,
void
*
,
struct
pt_regs
*
));
extern
void
(
*
sparc_
init_timers
)(
void
(
*
lvl10_irq
)(
int
,
void
*
,
struct
pt_regs
*
));
extern
void
claim_ticker14
(
void
(
*
irq_handler
)(
int
,
void
*
,
struct
pt_regs
*
),
extern
void
claim_ticker14
(
void
(
*
irq_handler
)(
int
,
void
*
,
struct
pt_regs
*
),
int
irq
,
int
irq
,
unsigned
int
timeout
);
unsigned
int
timeout
);
...
...
include/asm-sparc64/irq.h
View file @
0832a19b
...
@@ -116,7 +116,7 @@ static __inline__ char *__irq_itoa(unsigned int irq)
...
@@ -116,7 +116,7 @@ static __inline__ char *__irq_itoa(unsigned int irq)
extern
void
disable_irq
(
unsigned
int
);
extern
void
disable_irq
(
unsigned
int
);
#define disable_irq_nosync disable_irq
#define disable_irq_nosync disable_irq
extern
void
enable_irq
(
unsigned
int
);
extern
void
enable_irq
(
unsigned
int
);
extern
void
init_timers
(
void
(
*
lvl10_irq
)(
int
,
void
*
,
struct
pt_regs
*
),
extern
void
sparc64_
init_timers
(
void
(
*
lvl10_irq
)(
int
,
void
*
,
struct
pt_regs
*
),
unsigned
long
*
);
unsigned
long
*
);
extern
unsigned
int
build_irq
(
int
pil
,
int
inofixup
,
unsigned
long
iclr
,
unsigned
long
imap
);
extern
unsigned
int
build_irq
(
int
pil
,
int
inofixup
,
unsigned
long
iclr
,
unsigned
long
imap
);
extern
unsigned
int
sbus_build_irq
(
void
*
sbus
,
unsigned
int
ino
);
extern
unsigned
int
sbus_build_irq
(
void
*
sbus
,
unsigned
int
ino
);
...
...
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