Commit 4cdc7fe8 authored by Jeff Wiedemeier's avatar Jeff Wiedemeier Committed by Richard Henderson

[PATCH] remove srmcons_allowed implementation from marvel

Remove unused marvel_srmcons_allowed implementation.

/jeff
parent aca8e5a3
...@@ -732,21 +732,6 @@ marvel_iounmap(unsigned long addr) ...@@ -732,21 +732,6 @@ marvel_iounmap(unsigned long addr)
EXPORT_SYMBOL(marvel_ioremap); EXPORT_SYMBOL(marvel_ioremap);
EXPORT_SYMBOL(marvel_iounmap); EXPORT_SYMBOL(marvel_iounmap);
#endif #endif
/*
* SRMCons support
*
* Marvel doesn't have a real serial console -- it's either graphics or
* server management based. If we're running on the server management based
* console, allow the srmcons callback driver to be a console device.
*/
int
marvel_srmcons_allowed(void)
{
u64 *pu64 = (u64 *)((u64)hwrpb + hwrpb->ctbt_offset);
return (pu64[7] == 2);
}
/* /*
......
...@@ -53,7 +53,6 @@ extern int marvel_pa_to_nid(unsigned long); ...@@ -53,7 +53,6 @@ extern int marvel_pa_to_nid(unsigned long);
extern int marvel_cpuid_to_nid(int); extern int marvel_cpuid_to_nid(int);
extern unsigned long marvel_node_mem_start(int); extern unsigned long marvel_node_mem_start(int);
extern unsigned long marvel_node_mem_size(int); extern unsigned long marvel_node_mem_size(int);
extern int marvel_srmcons_allowed(void);
extern struct _alpha_agp_info *marvel_agp_info(void); extern struct _alpha_agp_info *marvel_agp_info(void);
struct io7 *marvel_find_io7(int pe); struct io7 *marvel_find_io7(int pe);
struct io7 *marvel_next_io7(struct io7 *prev); struct io7 *marvel_next_io7(struct io7 *prev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment