Skip to content

Commit

Permalink
sparc64: Delete starfire_cpu_setup().
Browse files Browse the repository at this point in the history
It does nothing.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 31, 2008
1 parent d7472c3 commit 10d29ff
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion arch/sparc/include/asm/starfire.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
extern int this_is_starfire;

extern void check_if_starfire(void);
extern void starfire_cpu_setup(void);
extern int starfire_hard_smp_processor_id(void);
extern void starfire_hookup(int);
extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
Expand Down
5 changes: 1 addition & 4 deletions arch/sparc64/kernel/central.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,8 @@ void __init central_probe(void)
int err;

dp = of_find_node_by_name(NULL, "central");
if (!dp) {
if (this_is_starfire)
starfire_cpu_setup();
if (!dp)
return;
}

/* Ok we got one, grab some memory for software state. */
central_bus = (struct linux_central *)
Expand Down
5 changes: 0 additions & 5 deletions arch/sparc64/kernel/starfire.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ void check_if_starfire(void)
this_is_starfire = 1;
}

void starfire_cpu_setup(void)
{
/* Currently, nothing to do. */
}

int starfire_hard_smp_processor_id(void)
{
return upa_readl(0x1fff40000d0UL);
Expand Down

0 comments on commit 10d29ff

Please sign in to comment.