Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 215486 | Differences between
and this patch

Collapse All | Expand All

(-)shfs/Linux-2.6/shfs_debug.h.orig (-2 / +2 lines)
Lines 19-25 Link Here
19
extern unsigned long alloc;
19
extern unsigned long alloc;
20
20
21
static inline void *
21
static inline void *
22
__kmem_malloc_debug(char *s, kmem_cache_t *cache, int flags)
22
__kmem_malloc_debug(char *s, struct kmem_cache *cache, int flags)
23
{
23
{
24
	if (debug_level >= SHFS_ALLOC) {
24
	if (debug_level >= SHFS_ALLOC) {
25
		void *x = kmem_cache_alloc(cache, flags);
25
		void *x = kmem_cache_alloc(cache, flags);
Lines 32-38 Link Here
32
}
32
}
33
33
34
static inline void
34
static inline void
35
__kmem_free_debug(char *s, kmem_cache_t *cache, void *p)
35
__kmem_free_debug(char *s, struct kmem_cache *cache, void *p)
36
{
36
{
37
	if (debug_level >= SHFS_ALLOC) {
37
	if (debug_level >= SHFS_ALLOC) {
38
		VERBOSE("free (%s): %p\n", s, p);
38
		VERBOSE("free (%s): %p\n", s, p);

Return to bug 215486