Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
8b79f2ce
Commit
8b79f2ce
authored
14 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://git.denx.de/u-boot-ubi
parents
8a452c2c
bdc5f067
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/mtd/ubi/wl.c
+7
-2
7 additions, 2 deletions
drivers/mtd/ubi/wl.c
include/ubi_uboot.h
+1
-1
1 addition, 1 deletion
include/ubi_uboot.h
with
8 additions
and
3 deletions
drivers/mtd/ubi/wl.c
+
7
−
2
View file @
8b79f2ce
...
@@ -696,8 +696,13 @@ static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk)
...
@@ -696,8 +696,13 @@ static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk)
list_add_tail
(
&
wrk
->
list
,
&
ubi
->
works
);
list_add_tail
(
&
wrk
->
list
,
&
ubi
->
works
);
ubi_assert
(
ubi
->
works_count
>=
0
);
ubi_assert
(
ubi
->
works_count
>=
0
);
ubi
->
works_count
+=
1
;
ubi
->
works_count
+=
1
;
if
(
ubi
->
thread_enabled
)
wake_up_process
(
ubi
->
bgt_thread
);
/*
* U-Boot special: We have no bgt_thread in U-Boot!
* So just call do_work() here directly.
*/
do_work
(
ubi
);
spin_unlock
(
&
ubi
->
wl_lock
);
spin_unlock
(
&
ubi
->
wl_lock
);
}
}
...
...
This diff is collapsed.
Click to expand it.
include/ubi_uboot.h
+
1
−
1
View file @
8b79f2ce
...
@@ -123,7 +123,7 @@ typedef int wait_queue_head_t;
...
@@ -123,7 +123,7 @@ typedef int wait_queue_head_t;
#define init_rwsem(...) do { } while (0)
#define init_rwsem(...) do { } while (0)
#define down_read(...) do { } while (0)
#define down_read(...) do { } while (0)
#define down_write(...) do { } while (0)
#define down_write(...) do { } while (0)
#define down_write_trylock(...)
0
#define down_write_trylock(...)
1
#define up_read(...) do { } while (0)
#define up_read(...) do { } while (0)
#define up_write(...) do { } while (0)
#define up_write(...) do { } while (0)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment