mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
sparc64: Delete starfire_cpu_setup().
It does nothing. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d7472c389e
commit
10d29ff907
@ -12,7 +12,6 @@
|
|||||||
extern int this_is_starfire;
|
extern int this_is_starfire;
|
||||||
|
|
||||||
extern void check_if_starfire(void);
|
extern void check_if_starfire(void);
|
||||||
extern void starfire_cpu_setup(void);
|
|
||||||
extern int starfire_hard_smp_processor_id(void);
|
extern int starfire_hard_smp_processor_id(void);
|
||||||
extern void starfire_hookup(int);
|
extern void starfire_hookup(int);
|
||||||
extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
|
extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
|
||||||
|
@ -306,11 +306,8 @@ void __init central_probe(void)
|
|||||||
int err;
|
int err;
|
||||||
|
|
||||||
dp = of_find_node_by_name(NULL, "central");
|
dp = of_find_node_by_name(NULL, "central");
|
||||||
if (!dp) {
|
if (!dp)
|
||||||
if (this_is_starfire)
|
|
||||||
starfire_cpu_setup();
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
/* Ok we got one, grab some memory for software state. */
|
/* Ok we got one, grab some memory for software state. */
|
||||||
central_bus = (struct linux_central *)
|
central_bus = (struct linux_central *)
|
||||||
|
@ -28,11 +28,6 @@ void check_if_starfire(void)
|
|||||||
this_is_starfire = 1;
|
this_is_starfire = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void starfire_cpu_setup(void)
|
|
||||||
{
|
|
||||||
/* Currently, nothing to do. */
|
|
||||||
}
|
|
||||||
|
|
||||||
int starfire_hard_smp_processor_id(void)
|
int starfire_hard_smp_processor_id(void)
|
||||||
{
|
{
|
||||||
return upa_readl(0x1fff40000d0UL);
|
return upa_readl(0x1fff40000d0UL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user