summaryrefslogtreecommitdiff
path: root/include/asm-m68k/mac_asc.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2005-11-05 20:14:13 (GMT)
committerThomas Graf <tgr@axs.localdomain>2005-11-05 21:02:26 (GMT)
commit6639607ed9deaed9ab3a1cc588f0288891ece2ac (patch)
tree370e98cbb4143cf397d5b3cf2a3a8ddf66a13cf1 /include/asm-m68k/mac_asc.h
parente06368221c204d7b5f1ba37d047170f9a0dd359d (diff)
downloadlinux-6639607ed9deaed9ab3a1cc588f0288891ece2ac.tar.xz
[PKT_SCHED]: GRED: Use a central table definition change procedure
Introduces a function gred_change_table_def() acting as a central point to change the table definition. Adds missing validations for table definition: MAX_DPs > DPs > 0 and def_DP < DPs thus fixing possible invalid memory reference oopses. Only root could do it but having a typo crashing the machine is a bit hard. Adds missing locking while changing the table definition, the operation of changing the number of DPs and removing shadowed VQs may not be interrupted by a dequeue. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'include/asm-m68k/mac_asc.h')
0 files changed, 0 insertions, 0 deletions