Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Remove unused MSG_ flags in linux/smp.h

Now that powerpc has removed its use of MSG_ALL_BUT_SELF and MSG_ALL
all these MSG_ flags are unused.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Milton Miller and committed by
Benjamin Herrenschmidt
ce2a4045 ca193150

-10
-10
include/linux/smp.h
··· 98 98 */ 99 99 int on_each_cpu(smp_call_func_t func, void *info, int wait); 100 100 101 - #define MSG_ALL_BUT_SELF 0x8000 /* Assume <32768 CPU's */ 102 - #define MSG_ALL 0x8001 103 - 104 - #define MSG_INVALIDATE_TLB 0x0001 /* Remote processor TLB invalidate */ 105 - #define MSG_STOP_CPU 0x0002 /* Sent to shut down slave CPU's 106 - * when rebooting 107 - */ 108 - #define MSG_RESCHEDULE 0x0003 /* Reschedule request from master CPU*/ 109 - #define MSG_CALL_FUNCTION 0x0004 /* Call function on all other CPUs */ 110 - 111 101 /* 112 102 * Mark the boot cpu "online" so that it can call console drivers in 113 103 * printk() and can access its per-cpu storage.