Skip to content

Commit d92f145

Browse files
Al Viroarndb
authored andcommitted
alpha: core_lca: take the unused functions out
the only user had been drivers/char/h8.c, and that got taken out and shot back in 2004... Signed-off-by: Al Viro <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Acked-by: Matt Turner <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 6e8d023 commit d92f145

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

arch/alpha/kernel/core_lca.c

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -471,47 +471,3 @@ lca_machine_check(unsigned long vector, unsigned long la_ptr)
471471
}
472472
#endif /* CONFIG_VERBOSE_MCHECK */
473473
}
474-
475-
/*
476-
* The following routines are needed to support the SPEED changing
477-
* necessary to successfully manage the thermal problem on the AlphaBook1.
478-
*/
479-
480-
void
481-
lca_clock_print(void)
482-
{
483-
long pmr_reg;
484-
485-
pmr_reg = LCA_READ_PMR;
486-
487-
printk("Status of clock control:\n");
488-
printk("\tPrimary clock divisor\t0x%lx\n", LCA_GET_PRIMARY(pmr_reg));
489-
printk("\tOverride clock divisor\t0x%lx\n", LCA_GET_OVERRIDE(pmr_reg));
490-
printk("\tInterrupt override is %s\n",
491-
(pmr_reg & LCA_PMR_INTO) ? "on" : "off");
492-
printk("\tDMA override is %s\n",
493-
(pmr_reg & LCA_PMR_DMAO) ? "on" : "off");
494-
495-
}
496-
497-
int
498-
lca_get_clock(void)
499-
{
500-
long pmr_reg;
501-
502-
pmr_reg = LCA_READ_PMR;
503-
return(LCA_GET_PRIMARY(pmr_reg));
504-
505-
}
506-
507-
void
508-
lca_clock_fiddle(int divisor)
509-
{
510-
long pmr_reg;
511-
512-
pmr_reg = LCA_READ_PMR;
513-
LCA_SET_PRIMARY_CLOCK(pmr_reg, divisor);
514-
/* lca_norm_clock = divisor; */
515-
LCA_WRITE_PMR(pmr_reg);
516-
mb();
517-
}

0 commit comments

Comments
 (0)