X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fcris%2Farch-v32%2Fkernel%2Farbiter.c;fp=arch%2Fcris%2Farch-v32%2Fkernel%2Farbiter.c;h=3870d2fd516066ca3354ef129240a955942148b3;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=420a5312ed039ff451e73939a7dc25ddaf5a5859;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/cris/arch-v32/kernel/arbiter.c b/arch/cris/arch-v32/kernel/arbiter.c index 420a5312e..3870d2fd5 100644 --- a/arch/cris/arch-v32/kernel/arbiter.c +++ b/arch/cris/arch-v32/kernel/arbiter.c @@ -1,14 +1,15 @@ /* - * Memory arbiter functions. Allocates bandwidth through the + * Memory arbiter functions. Allocates bandwith through the * arbiter and sets up arbiter breakpoints. * * The algorithm first assigns slots to the clients that has specified - * bandwidth (e.g. ethernet) and then the remaining slots are divided + * bandwith (e.g. ethernet) and then the remaining slots are divided * on all the active clients. * * Copyright (c) 2004, 2005 Axis Communications AB. */ +#include #include #include #include @@ -119,7 +120,7 @@ static void crisv32_arbiter_init(void) crisv32_arbiter_config(EXT_REGION); crisv32_arbiter_config(INT_REGION); - if (request_irq(MEMARB_INTR_VECT, crisv32_arbiter_irq, IRQF_DISABLED, + if (request_irq(MEMARB_INTR_VECT, crisv32_arbiter_irq, SA_INTERRUPT, "arbiter", NULL)) printk(KERN_ERR "Couldn't allocate arbiter IRQ\n"); @@ -132,8 +133,8 @@ static void crisv32_arbiter_init(void) -int crisv32_arbiter_allocate_bandwidth(int client, int region, - unsigned long bandwidth) +int crisv32_arbiter_allocate_bandwith(int client, int region, + unsigned long bandwidth) { int i; int total_assigned = 0;