[lkml]   [2002]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] kd_mksound inclusion on PPC

    On PPC, we have many platforms which don't have an ISA timer chip and
    on which therefore the default _kd_mksound does the wrong thing. This
    patch changes drivers/char/vt.c so we can use a config option,
    CONFIG_PPC_ISATIMER, to control whether we get the default _kd_mksound
    or not, rather than including it on all PPC machines. (The
    CONFIG_PPC_ISATIMER is derived from the user's choice of platform
    support, we don't ask about it explicitly.)

    Please apply this to your tree.


    diff -urN for-marcelo-ppc/drivers/char/vt.c linuxppc_2_4/drivers/char/vt.c
    --- linux-2.4/drivers/char/vt.c Wed Aug 28 08:40:07 2002
    +++ linuxppc_2_4/drivers/char/vt.c Thu Aug 29 13:11:39 2002
    @@ -90,7 +90,7 @@
    * comments - KDMKTONE doesn't put the process to sleep.

    -#if defined(__i386__) || defined(__alpha__) || defined(__powerpc__) \
    +#if defined(__i386__) || defined(__alpha__) || defined(CONFIG_PPC_ISATIMER) \
    || (defined(__mips__) && defined(CONFIG_ISA)) \
    || (defined(__arm__) && defined(CONFIG_HOST_FOOTBRIDGE)) \
    || defined(__x86_64__)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2005-03-22 13:28    [W:0.021 / U:15.752 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site