Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16666
b: refs/heads/master
c: 69549dd
h: refs/heads/master
v: v3
  • Loading branch information
Luiz Capitulino authored and David S. Miller committed Jan 6, 2006
1 parent 2be0c1c commit 2e79d9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 3cbc4ab58f79853740bf21f3736913d223ee50d4
refs/heads/master: 69549ddd2f894c4cead50ee2b60cc02990c389ad
5 changes: 2 additions & 3 deletions trunk/net/core/pktgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@ static char version[] __initdata = VERSION;

static int pktgen_remove_device(struct pktgen_thread* t, struct pktgen_dev *i);
static int pktgen_add_device(struct pktgen_thread* t, const char* ifname);
static struct pktgen_thread* pktgen_find_thread(const char* name);
static struct pktgen_dev *pktgen_find_dev(struct pktgen_thread* t, const char* ifname);
static int pktgen_device_event(struct notifier_block *, unsigned long, void *);
static void pktgen_run_all_threads(void);
Expand Down Expand Up @@ -2883,7 +2882,7 @@ static int pktgen_add_device(struct pktgen_thread *t, const char* ifname)
return add_dev_to_thread(t, pkt_dev);
}

static struct pktgen_thread *pktgen_find_thread(const char* name)
static struct pktgen_thread * __init pktgen_find_thread(const char* name)
{
struct pktgen_thread *t = NULL;

Expand All @@ -2900,7 +2899,7 @@ static struct pktgen_thread *pktgen_find_thread(const char* name)
return t;
}

static int pktgen_create_thread(const char* name, int cpu)
static int __init pktgen_create_thread(const char* name, int cpu)
{
struct pktgen_thread *t = NULL;
struct proc_dir_entry *pe;
Expand Down

0 comments on commit 2e79d9c

Please sign in to comment.