git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mmc: s3c6410: enable ADMA feature in 6410 sdhci controller
[safe/jmp/linux-2.6]
/
net
/
tipc
/
handler.c
diff --git
a/net/tipc/handler.c
b/net/tipc/handler.c
index
ae6ddf0
..
0c70010
100644
(file)
--- a/
net/tipc/handler.c
+++ b/
net/tipc/handler.c
@@
-1,6
+1,6
@@
/*
* net/tipc/handler.c: TIPC signal handling
/*
* net/tipc/handler.c: TIPC signal handling
- *
+ *
* Copyright (c) 2000-2006, Ericsson AB
* Copyright (c) 2005, Wind River Systems
* All rights reserved.
* Copyright (c) 2000-2006, Ericsson AB
* Copyright (c) 2005, Wind River Systems
* All rights reserved.
@@
-42,7
+42,7
@@
struct queue_item {
unsigned long data;
};
unsigned long data;
};
-static
kmem_cache_t
*tipc_queue_item_cache;
+static
struct kmem_cache
*tipc_queue_item_cache;
static struct list_head signal_queue_head;
static DEFINE_SPINLOCK(qitem_lock);
static int handler_enabled = 0;
static struct list_head signal_queue_head;
static DEFINE_SPINLOCK(qitem_lock);
static int handler_enabled = 0;
@@
-95,9
+95,9
@@
static void process_signal_queue(unsigned long dummy)
int tipc_handler_start(void)
{
int tipc_handler_start(void)
{
- tipc_queue_item_cache =
+ tipc_queue_item_cache =
kmem_cache_create("tipc_queue_items", sizeof(struct queue_item),
kmem_cache_create("tipc_queue_items", sizeof(struct queue_item),
- 0, SLAB_HWCACHE_ALIGN, NULL
, NULL
);
+ 0, SLAB_HWCACHE_ALIGN, NULL);
if (!tipc_queue_item_cache)
return -ENOMEM;
if (!tipc_queue_item_cache)
return -ENOMEM;
@@
-110,7
+110,7
@@
int tipc_handler_start(void)
void tipc_handler_stop(void)
{
struct list_head *l, *n;
void tipc_handler_stop(void)
{
struct list_head *l, *n;
- struct queue_item *item;
+ struct queue_item *item;
if (!handler_enabled)
return;
if (!handler_enabled)
return;