[2.6 patch] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype

From: Adrian Bunk (bunk_at_stusta.de)
Date: 11/21/05

  • Next message: Jody McIntyre: "Re: [2.6 patch] drivers/ieee1394/raw1394.c: fix a NULL pointer dereference"
    Date:	Mon, 21 Nov 2005 00:33:47 +0100
    To: linux-kernel@vger.kernel.org
    
    

    There's no need to guard the normalize_rt_tasks() prototype with an
    #ifdef CONFIG_MAGIC_SYSRQ.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.15-rc1-mm2-full/include/linux/sched.h.old 2005-11-20 20:44:28.000000000 +0100
    +++ linux-2.6.15-rc1-mm2-full/include/linux/sched.h 2005-11-20 20:44:35.000000000 +0100
    @@ -1423,12 +1423,8 @@
     extern long sched_setaffinity(pid_t pid, cpumask_t new_mask);
     extern long sched_getaffinity(pid_t pid, cpumask_t *mask);
     
    -#ifdef CONFIG_MAGIC_SYSRQ
    -
     extern void normalize_rt_tasks(void);
     
    -#endif
    -
     #ifdef CONFIG_PM
     /*
      * Check if a process has been frozen

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Jody McIntyre: "Re: [2.6 patch] drivers/ieee1394/raw1394.c: fix a NULL pointer dereference"

    Relevant Pages