Commit b622832a authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Tony Luck

cyclone.h, cyclone.c, acpi.c, Kconfig:

  Make cyclone_setup() take no args, rather than an ignored "char *"
  and return void.  Fix typos and whitespace.
Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent ec3a02c8
...@@ -179,10 +179,10 @@ config DISCONTIGMEM ...@@ -179,10 +179,10 @@ config DISCONTIGMEM
See <file:Documentation/vm/numa> for more. See <file:Documentation/vm/numa> for more.
config IA64_CYCLONE config IA64_CYCLONE
bool "Support Cyclone(EXA) Time Source" bool "Cyclone (EXA) Time Source support"
help help
Say Y here to enable support for IBM EXA Cyclone time source. Say Y here to enable support for IBM EXA Cyclone time source.
If you're unsure, answer N. If you're unsure, answer N.
config IOSAPIC config IOSAPIC
bool bool
......
...@@ -293,20 +293,20 @@ acpi_parse_nmi_src (acpi_table_entry_header *header, const unsigned long end) ...@@ -293,20 +293,20 @@ acpi_parse_nmi_src (acpi_table_entry_header *header, const unsigned long end)
return 0; return 0;
} }
/* Hook from generic ACPI tables.c */ static void __init
void __init acpi_madt_oem_check(char *oem_id, char *oem_table_id) acpi_madt_oem_check (char *oem_id, char *oem_table_id)
{ {
if (!strncmp(oem_id, "IBM", 3) && if (!strncmp(oem_id, "IBM", 3) &&
(!strncmp(oem_table_id, "SERMOW", 6))){ (!strncmp(oem_table_id, "SERMOW", 6))) {
/* Unfortunatly ITC_DRIFT is not yet part of the /*
* Unfortunately ITC_DRIFT is not yet part of the
* official SAL spec, so the ITC_DRIFT bit is not * official SAL spec, so the ITC_DRIFT bit is not
* set by the BIOS on this hardware. * set by the BIOS on this hardware.
*/ */
sal_platform_features |= IA64_SAL_PLATFORM_FEATURE_ITC_DRIFT; sal_platform_features |= IA64_SAL_PLATFORM_FEATURE_ITC_DRIFT;
/*Start cyclone clock*/ cyclone_setup();
cyclone_setup(0);
} }
} }
......
...@@ -10,10 +10,9 @@ ...@@ -10,10 +10,9 @@
#define CYCLONE_TIMER_FREQ 100000000 #define CYCLONE_TIMER_FREQ 100000000
int use_cyclone; int use_cyclone;
int __init cyclone_setup(char *str) void __init cyclone_setup(void)
{ {
use_cyclone = 1; use_cyclone = 1;
return 1;
} }
static u32* volatile cyclone_timer; /* Cyclone MPMC0 register */ static u32* volatile cyclone_timer; /* Cyclone MPMC0 register */
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
#ifdef CONFIG_IA64_CYCLONE #ifdef CONFIG_IA64_CYCLONE
extern int use_cyclone; extern int use_cyclone;
extern int __init cyclone_setup(char*); extern void __init cyclone_setup(void);
#else /* CONFIG_IA64_CYCLONE */ #else /* CONFIG_IA64_CYCLONE */
#define use_cyclone 0 #define use_cyclone 0
static inline void cyclone_setup(char* s) static inline void cyclone_setup(void)
{ {
printk(KERN_ERR "Cyclone Counter: System not configured" printk(KERN_ERR "Cyclone Counter: System not configured"
" w/ CONFIG_IA64_CYCLONE.\n"); " w/ CONFIG_IA64_CYCLONE.\n");
......
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