top: adapt for loss of fields obsoleted with linux 2.6
It would have been nice to remove this 'nDRT' guy from the fields management screen and man document as well. But, while this version of top could be made to handle an older rcfile, the reverse would not have been true. Besides, it's been zero for so long already we'll just include a 'deprecated' note in top's man page for now. [ the 'nTH ' field number was corrected in there too ] Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@ -1540,7 +1540,7 @@ static struct {
|
||||
#endif
|
||||
{ 4, -1, A_right, -1, PIDS_FLT_MAJ }, // ul_int EU_FL1
|
||||
{ 4, -1, A_right, -1, PIDS_FLT_MIN }, // ul_int EU_FL2
|
||||
{ 4, -1, A_right, -1, PIDS_MEM_DT_PGS }, // ul_int EU_DRT ( always 0 w/ since 2.6 )
|
||||
{ 4, -1, A_right, -1, PIDS_noop }, // ul_int EU_DRT ( always 0 w/ since 2.6 )
|
||||
{ 1, -1, A_right, -1, PIDS_STATE }, // s_ch EU_STA
|
||||
{ -1, -1, A_left, -1, PIDS_CMD }, // str EU_CMD
|
||||
{ 10, -1, A_left, -1, PIDS_WCHAN_NAME }, // str EU_WCH
|
||||
|
Reference in New Issue
Block a user