projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee3dea3
)
blk-throttle: don't call xchg on bool
author
Andreas Schwab
<schwab@linux-m68k.org>
Wed, 30 Mar 2011 10:21:56 +0000
(12:21 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Tue, 5 Apr 2011 21:51:37 +0000
(23:51 +0200)
xchg does not work portably with smaller than 32bit types.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-throttle.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-throttle.c
b/block/blk-throttle.c
index 5352bdafbcf0fe6dcf761e6c1f4f36b12492f64e..6c98cfeeedf0e385799130dc8ede25cc1fa09c27 100644
(file)
--- a/
block/blk-throttle.c
+++ b/
block/blk-throttle.c
@@
-77,7
+77,7
@@
struct throtl_grp {
unsigned long slice_end[2];
/* Some throttle limits got updated for the group */
-
bool
limits_changed;
+
int
limits_changed;
};
struct throtl_data
@@
-102,7
+102,7
@@
struct throtl_data
/* Work for dispatching throttled bios */
struct delayed_work throtl_work;
-
bool
limits_changed;
+
int
limits_changed;
};
enum tg_state_flags {