#ifndef LLC_S_ST_H #define LLC_S_ST_H /* * Copyright (c) 1997 by Procom Technology,Inc. * 2001 by Arnaldo Carvalho de Melo * * This program can be redistributed or modified under the terms of the * GNU General Public License as published by the Free Software Foundation. * This program is distributed without any warranty or implied warranty * of merchantability or fitness for a particular purpose. * * See the GNU General Public License for more details. */ #define LLC_NR_SAP_STATES 2 /* size of state table */ /* structures and types */ /* SAP state table structure */ struct llc_sap_state_trans { llc_sap_ev_t ev; u8 next_state; const llc_sap_action_t *ev_actions; }; struct llc_sap_state { u8 curr_state; struct llc_sap_state_trans **transitions; }; /* only access to SAP state table */ extern struct llc_sap_state llc_sap_state_table[LLC_NR_SAP_STATES]; #endif /* LLC_S_ST_H */ > net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/uapi/asm-generic
alue='0' selected='selected'>include
AgeCommit message (Expand)AuthorFilesLines
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-12-21 20:19:53 +0100
committerThomas Gleixner <tglx@linutronix.de>2016-12-25 10:47:43 +0100
commit530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f (patch)
tree3f8da3a319b88466effa991910c568d038ecfa4b
parent7b737965b33188bd3dbb44e938535c4006d97fbb (diff)
cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions
hotcpu_notifier(), cpu_notifier(), __hotcpu_notifier(), __cpu_notifier(), register_hotcpu_notifier(), register_cpu_notifier(), __register_hotcpu_notifier(), __register_cpu_notifier(), unregister_hotcpu_notifier(), unregister_cpu_notifier(), __unregister_hotcpu_notifier(), __unregister_cpu_notifier() are unused now. Remove them and all related code. Remove also the now pointless cpu notifier error injection mechanism. The states can be executed step by step and error rollback is the same as cpu down, so any state transition can be tested w/o requiring the notifier error injection. Some CPU hotplug states are kept as they are (ab)used for hotplug state tracking. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: rt@linutronix.de Link: http://lkml.kernel.org/r/20161221192112.005642358@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat