Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19383
b: refs/heads/master
c: 5ec8a84
h: refs/heads/master
i:
  19381: 54e58ee
  19379: c39c4d5
  19375: 83f0e33
v: v3
  • Loading branch information
Steven Rostedt authored and Linus Torvalds committed Feb 1, 2006
1 parent d50ec65 commit fed2f13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: 18f820f655ce93b1e4d9b48fc6fcafc64157c6bc
refs/heads/master: 5ec8a847bb8ae2ba6395cfb7cb4bfdc78ada82ed
9 changes: 4 additions & 5 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ struct kmem_list3 __initdata initkmem_list3[NUM_INIT_LISTS];
*/
static __always_inline int index_of(const size_t size)
{
extern void __bad_size(void);

if (__builtin_constant_p(size)) {
int i = 0;

Expand All @@ -326,12 +328,9 @@ static __always_inline int index_of(const size_t size)
i++;
#include "linux/kmalloc_sizes.h"
#undef CACHE
{
extern void __bad_size(void);
__bad_size();
}
__bad_size();
} else
BUG();
__bad_size();
return 0;
}

Expand Down

0 comments on commit fed2f13

Please sign in to comment.