SRM cleanup for generic Alpha kernels

SRM cleanup for generic Alpha kernels

Post by Jan-Benedict Gla » Tue, 28 May 2002 06:50:05



Hi Linus!

Please apply this patch to current 2.5.x 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:-)

Please apply!

MfG, JBG

--- linux-2.5.18-srm/arch/alpha/kernel/alpha_ksyms.c.orig       Sun May 26 23:16:40 2002

 EXPORT_SYMBOL(probe_irq_mask);
 EXPORT_SYMBOL(screen_info);
 EXPORT_SYMBOL(perf_irq);
-#ifdef CONFIG_ALPHA_SRM
 EXPORT_SYMBOL(callback_getenv);
 EXPORT_SYMBOL(callback_setenv);
 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 */
 EXPORT_SYMBOL(_inb);
--- linux-2.5.18-srm/arch/alpha/config.in.orig  Sun May 26 02:05:53 2002

        "ELF               CONFIG_KCORE_ELF        \
         A.OUT          CONFIG_KCORE_AOUT" ELF
 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
 fi

--

         -- New APT-Proxy written in shell script --
           http://lug-owl.de/~jbglaw/software/ap2/

  application_pgp-signature_part
< 1K Download
 
 
 

1. kernel 2.5.20 on alpha (RE: [patch] Re: kernel 2.5.18 on alpha)

[ ... ]

[ ... ]

I guess I found where the error comes from:

(from the 2.5.20 Changelog):

Now I believe, that Alpha also benefits from this. :o) The only thing
I have to do - I guess - is to change the defines for copy_user_page()
and clear_user_page. Adding the not used parameter >pg< should not make
any problems.

Greetz,
  Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Need good vt420 emulator that can talk over serial port

3. generic copy_siginfo_to_user cleanup

4. No network --> no boot???

5. ioctl32 cleanup -- generic

6. setting up Linux as a firewall and proxy server

7. Alpha 1200 / UNIX 5.1 / SRM 5.8 question

8. Help request, suExec and apache 1.3

9. SRM Firmware for DEC Alpha XL/XLT

10. The vga problem in upgrading alpha bios to srm console at 164lx

11. aboot or SRM prob with Red Hat 6.2 and Alpha 2100A?

12. SRM of Jensen Alpha (DECpc150)

13. SRM console on an Alpha XLT 300