Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107431
b: refs/heads/master
c: d3689d7
h: refs/heads/master
i:
  107429: 9738fe7
  107427: 6291465
  107423: 2c71009
v: v3
  • Loading branch information
Barry Naujok authored and Niv Sardi committed Jul 28, 2008
1 parent a78a354 commit 766edd9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 189f4bf22bdc3c2402b038016d11fd3cb1c89f07
refs/heads/master: d3689d7687dbbc46c5004557d53349f6952fbc93
4 changes: 2 additions & 2 deletions trunk/fs/xfs/linux-2.6/kmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ kmem_zalloc_greedy(size_t *size, size_t minsize, size_t maxsize,
}

void
kmem_free(void *ptr)
kmem_free(const void *ptr)
{
if (!is_vmalloc_addr(ptr)) {
kfree(ptr);
Expand All @@ -100,7 +100,7 @@ kmem_free(void *ptr)
}

void *
kmem_realloc(void *ptr, size_t newsize, size_t oldsize,
kmem_realloc(const void *ptr, size_t newsize, size_t oldsize,
unsigned int __nocast flags)
{
void *new;
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/xfs/linux-2.6/kmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ kmem_flags_convert(unsigned int __nocast flags)
extern void *kmem_alloc(size_t, unsigned int __nocast);
extern void *kmem_zalloc(size_t, unsigned int __nocast);
extern void *kmem_zalloc_greedy(size_t *, size_t, size_t, unsigned int __nocast);
extern void *kmem_realloc(void *, size_t, size_t, unsigned int __nocast);
extern void kmem_free(void *);
extern void *kmem_realloc(const void *, size_t, size_t, unsigned int __nocast);
extern void kmem_free(const void *);

/*
* Zone interfaces
Expand Down

0 comments on commit 766edd9

Please sign in to comment.