Commit 052508d3 authored by Jan-Benedict Glaw's avatar Jan-Benedict Glaw Committed by Linus Torvalds

[PATCH] SRM cleanup for generic Alpha kernels

- alpha_using_srm is #define'd for machine specific kernels, but
  is a real integer variable for generic Alpha kernels. Export
  it...

- The callback_* functions are _always_ there (they might be NOP
  functions owith generic kernels on non-SRM machines).

- srm_env can now be compiled on generic alpha kernels. An
  explicit check for SRM capability was always there:-)
parent 9c2c68b8
...@@ -259,7 +259,7 @@ if [ "$CONFIG_PROC_FS" = "y" ]; then ...@@ -259,7 +259,7 @@ if [ "$CONFIG_PROC_FS" = "y" ]; then
"ELF CONFIG_KCORE_ELF \ "ELF CONFIG_KCORE_ELF \
A.OUT CONFIG_KCORE_AOUT" ELF A.OUT CONFIG_KCORE_AOUT" ELF
fi fi
if [ "$CONFIG_PROC_FS" != "n" -a "$CONFIG_ALPHA_SRM" = "y" ]; then if [ "$CONFIG_PROC_FS" != "n" ]; then
tristate 'SRM environment through procfs' CONFIG_SRM_ENV tristate 'SRM environment through procfs' CONFIG_SRM_ENV
fi fi
......
...@@ -58,11 +58,12 @@ EXPORT_SYMBOL(disable_irq_nosync); ...@@ -58,11 +58,12 @@ EXPORT_SYMBOL(disable_irq_nosync);
EXPORT_SYMBOL(probe_irq_mask); EXPORT_SYMBOL(probe_irq_mask);
EXPORT_SYMBOL(screen_info); EXPORT_SYMBOL(screen_info);
EXPORT_SYMBOL(perf_irq); EXPORT_SYMBOL(perf_irq);
#ifdef CONFIG_ALPHA_SRM
EXPORT_SYMBOL(callback_getenv); EXPORT_SYMBOL(callback_getenv);
EXPORT_SYMBOL(callback_setenv); EXPORT_SYMBOL(callback_setenv);
EXPORT_SYMBOL(callback_save_env); EXPORT_SYMBOL(callback_save_env);
#endif /* CONFIG_ALPHA_SRM */ #ifdef CONFIG_ALPHA_GENERIC
EXPORT_SYMBOL(alpha_using_srm);
#endif /* CONFIG_ALPHA_GENERIC */
/* platform dependent support */ /* platform dependent support */
EXPORT_SYMBOL(_inb); EXPORT_SYMBOL(_inb);
......
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