Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140943
b: refs/heads/master
c: eb1871f
h: refs/heads/master
i:
  140941: 328bad7
  140939: 6b47c44
  140935: f00cafe
  140927: d995202
v: v3
  • Loading branch information
Steven Rostedt committed Mar 13, 2009
1 parent bcb471b commit 9dd4656
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7afe16c2bbf065e30d692423ad2c7e77c4cfe9a5
refs/heads/master: eb1871f34358024acfa3523ef375ef14b7527173
2 changes: 1 addition & 1 deletion trunk/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 29
EXTRAVERSION = -rc8
EXTRAVERSION = -rc7
NAME = Erotic Pickled Herring

# *DOCUMENTATION*
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/trace/trace_stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ static int t_show(struct seq_file *m, void *v)
int size;

if (v == SEQ_START_TOKEN) {
seq_printf(m, " Depth Size Location"
seq_printf(m, " Depth Size Location"
" (%d entries)\n"
" ----- ---- --------\n",
" ----- ---- --------\n",
max_stack_trace.nr_entries);

if (!stack_tracer_enabled && !max_stack_size)
Expand Down
16 changes: 8 additions & 8 deletions trunk/lib/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,15 +948,15 @@ static int __reg_op(unsigned long *bitmap, int pos, int order, int reg_op)
*/
int bitmap_find_free_region(unsigned long *bitmap, int bits, int order)
{
int pos, end; /* scans bitmap by regions of size order */
int pos; /* scans bitmap by regions of size order */

for (pos = 0 ; (end = pos + (1 << order)) <= bits; pos = end) {
if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE))
continue;
__reg_op(bitmap, pos, order, REG_OP_ALLOC);
return pos;
}
return -ENOMEM;
for (pos = 0; pos < bits; pos += (1 << order))
if (__reg_op(bitmap, pos, order, REG_OP_ISFREE))
break;
if (pos == bits)
return -ENOMEM;
__reg_op(bitmap, pos, order, REG_OP_ALLOC);
return pos;
}
EXPORT_SYMBOL(bitmap_find_free_region);

Expand Down

0 comments on commit 9dd4656

Please sign in to comment.