Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62216
b: refs/heads/master
c: d080d39
h: refs/heads/master
v: v3
  • Loading branch information
Yasuaki Ishimatsu authored and Tony Luck committed Jul 17, 2007
1 parent 39e78e4 commit 7f1a0c5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd378f18cf73d92bf0b6e1e6b5759b5dd729a9f2
refs/heads/master: d080d397f97dd185ff48ef933be09a104d47fba5
3 changes: 3 additions & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,9 @@ and is between 256 and 4096 characters. It is defined in the file
vdso=1: enable VDSO (default)
vdso=0: disable VDSO mapping

vector= [IA-64,SMP]
vector=percpu: enable percpu vector domain

video= [FB] Frame buffer configuration
See Documentation/fb/modedb.txt.

Expand Down
26 changes: 26 additions & 0 deletions trunk/arch/ia64/kernel/irq_ia64.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,36 @@ void __setup_vector_irq(int cpu)
}
}

#if defined(CONFIG_IA64_GENERIC)
static enum vector_domain_type {
VECTOR_DOMAIN_NONE,
VECTOR_DOMAIN_PERCPU
} vector_domain_type = VECTOR_DOMAIN_NONE;

static cpumask_t vector_allocation_domain(int cpu)
{
if (vector_domain_type == VECTOR_DOMAIN_PERCPU)
return cpumask_of_cpu(cpu);
return CPU_MASK_ALL;
}

static int __init parse_vector_domain(char *arg)
{
if (!arg)
return -EINVAL;
if (!strcmp(arg, "percpu")) {
vector_domain_type = VECTOR_DOMAIN_PERCPU;
no_int_routing = 1;
}
return 1;
}
early_param("vector", parse_vector_domain);
#else
static cpumask_t vector_allocation_domain(int cpu)
{
return CPU_MASK_ALL;
}
#endif


void destroy_and_reserve_irq(unsigned int irq)
Expand Down

0 comments on commit 7f1a0c5

Please sign in to comment.