kdb: Use KDB_REPEAT_* values as flags
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 6 Nov 2014 14:36:43 +0000 (14:36 +0000)
committerJason Wessel <jason.wessel@windriver.com>
Tue, 11 Nov 2014 15:31:51 +0000 (09:31 -0600)
commit04bb171e7aa99dee0c92e772e4f66f8d5c1b4081
tree3458b0e17522270aaffcfd694988f6677d06ca3b
parent42c884c10b775ce04f8aabe488820134625c893e
kdb: Use KDB_REPEAT_* values as flags

The actual values of KDB_REPEAT_* enum values and overall logic stayed
the same, but we now treat the values as flags.

This makes it possible to add other flags and combine them, plus makes
the code a lot simpler and shorter. But functionality-wise, there should
be no changes.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
include/linux/kdb.h
kernel/debug/kdb/kdb_main.c