mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
Staging: most: Remove atomic_counter_t typedef
Remove atomic_counter_t typedef, use int instead. Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7df7ee9be9
commit
afb105549d
@ -42,14 +42,12 @@ struct dim_ch_state_t {
|
||||
u16 done_buffers; /* Number of completed buffers */
|
||||
};
|
||||
|
||||
typedef int atomic_counter_t;
|
||||
|
||||
struct int_ch_state {
|
||||
/* changed only in interrupt context */
|
||||
volatile atomic_counter_t request_counter;
|
||||
volatile int request_counter;
|
||||
|
||||
/* changed only in task context */
|
||||
volatile atomic_counter_t service_counter;
|
||||
volatile int service_counter;
|
||||
|
||||
u8 idx1;
|
||||
u8 idx2;
|
||||
|
Loading…
Reference in New Issue
Block a user