Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16980
b: refs/heads/master
c: cc398c2
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller authored and Linus Torvalds committed Jan 9, 2006
1 parent 9b9a6f0 commit 0d7103a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 5160ee6fc891a9ca114be0e90fa6655647bb64b2
refs/heads/master: cc398c2eae35b13d77b77337136325edc6ca94ca
4 changes: 2 additions & 2 deletions trunk/drivers/connector/cn_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
static atomic_t proc_event_num_listeners = ATOMIC_INIT(0);
static struct cb_id cn_proc_event_id = { CN_IDX_PROC, CN_VAL_PROC };

/* proc_counts is used as the sequence number of the netlink message */
/* proc_event_counts is used as the sequence number of the netlink message */
static DEFINE_PER_CPU(__u32, proc_event_counts) = { 0 };

static inline void get_seq(__u32 *ts, int *cpu)
{
*ts = get_cpu_var(proc_event_counts)++;
*cpu = smp_processor_id();
put_cpu_var(proc_counts);
put_cpu_var(proc_event_counts);
}

void proc_fork_connector(struct task_struct *task)
Expand Down

0 comments on commit 0d7103a

Please sign in to comment.