diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-20 05:39:04 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-20 20:14:46 -0400 |
commit | e83fb17f9ba6ea0c64d084cca0c557d7e7dc9693 (patch) | |
tree | 16c28c1ab090c7c3e2cad2e1f6d29315b1ceea53 | |
parent | afd69ed142a3aa8df81ea54e5e78d77dbcf08467 (diff) |
[SPARC64]: Use KERN_ERR in IRQ manipulation error printks.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc64/kernel/irq.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index c72795666a62..edd530fb4e37 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c | |||
@@ -336,15 +336,15 @@ static void sun4v_irq_enable(unsigned int virt_irq) | |||
336 | 336 | ||
337 | err = sun4v_intr_settarget(ino, cpuid); | 337 | err = sun4v_intr_settarget(ino, cpuid); |
338 | if (err != HV_EOK) | 338 | if (err != HV_EOK) |
339 | printk("sun4v_intr_settarget(%x,%lu): err(%d)\n", | 339 | printk(KERN_ERR "sun4v_intr_settarget(%x,%lu): " |
340 | ino, cpuid, err); | 340 | "err(%d)\n", ino, cpuid, err); |
341 | err = sun4v_intr_setstate(ino, HV_INTR_STATE_IDLE); | 341 | err = sun4v_intr_setstate(ino, HV_INTR_STATE_IDLE); |
342 | if (err != HV_EOK) | 342 | if (err != HV_EOK) |
343 | printk("sun4v_intr_setstate(%x): " | 343 | printk(KERN_ERR "sun4v_intr_setstate(%x): " |
344 | "err(%d)\n", ino, err); | 344 | "err(%d)\n", ino, err); |
345 | err = sun4v_intr_setenabled(ino, HV_INTR_ENABLED); | 345 | err = sun4v_intr_setenabled(ino, HV_INTR_ENABLED); |
346 | if (err != HV_EOK) | 346 | if (err != HV_EOK) |
347 | printk("sun4v_intr_setenabled(%x): err(%d)\n", | 347 | printk(KERN_ERR "sun4v_intr_setenabled(%x): err(%d)\n", |
348 | ino, err); | 348 | ino, err); |
349 | } | 349 | } |
350 | } | 350 | } |
@@ -362,8 +362,8 @@ static void sun4v_set_affinity(unsigned int virt_irq, cpumask_t mask) | |||
362 | 362 | ||
363 | err = sun4v_intr_settarget(ino, cpuid); | 363 | err = sun4v_intr_settarget(ino, cpuid); |
364 | if (err != HV_EOK) | 364 | if (err != HV_EOK) |
365 | printk("sun4v_intr_settarget(%x,%lu): err(%d)\n", | 365 | printk(KERN_ERR "sun4v_intr_settarget(%x,%lu): " |
366 | ino, cpuid, err); | 366 | "err(%d)\n", ino, cpuid, err); |
367 | } | 367 | } |
368 | } | 368 | } |
369 | 369 | ||
@@ -377,7 +377,7 @@ static void sun4v_irq_disable(unsigned int virt_irq) | |||
377 | 377 | ||
378 | err = sun4v_intr_setenabled(ino, HV_INTR_DISABLED); | 378 | err = sun4v_intr_setenabled(ino, HV_INTR_DISABLED); |
379 | if (err != HV_EOK) | 379 | if (err != HV_EOK) |
380 | printk("sun4v_intr_setenabled(%x): " | 380 | printk(KERN_ERR "sun4v_intr_setenabled(%x): " |
381 | "err(%d)\n", ino, err); | 381 | "err(%d)\n", ino, err); |
382 | } | 382 | } |
383 | } | 383 | } |
@@ -410,7 +410,7 @@ static void sun4v_irq_end(unsigned int virt_irq) | |||
410 | 410 | ||
411 | err = sun4v_intr_setstate(ino, HV_INTR_STATE_IDLE); | 411 | err = sun4v_intr_setstate(ino, HV_INTR_STATE_IDLE); |
412 | if (err != HV_EOK) | 412 | if (err != HV_EOK) |
413 | printk("sun4v_intr_setstate(%x): " | 413 | printk(KERN_ERR "sun4v_intr_setstate(%x): " |
414 | "err(%d)\n", ino, err); | 414 | "err(%d)\n", ino, err); |
415 | } | 415 | } |
416 | } | 416 | } |
@@ -431,19 +431,19 @@ static void sun4v_virq_enable(unsigned int virt_irq) | |||
431 | 431 | ||
432 | err = sun4v_vintr_set_target(dev_handle, dev_ino, cpuid); | 432 | err = sun4v_vintr_set_target(dev_handle, dev_ino, cpuid); |
433 | if (err != HV_EOK) | 433 | if (err != HV_EOK) |
434 | printk("sun4v_vintr_set_target(%lx,%lx,%lu): " | 434 | printk(KERN_ERR "sun4v_vintr_set_target(%lx,%lx,%lu): " |
435 | "err(%d)\n", | 435 | "err(%d)\n", |
436 | dev_handle, dev_ino, cpuid, err); | 436 | dev_handle, dev_ino, cpuid, err); |
437 | err = sun4v_vintr_set_state(dev_handle, dev_ino, | 437 | err = sun4v_vintr_set_state(dev_handle, dev_ino, |
438 | HV_INTR_STATE_IDLE); | 438 | HV_INTR_STATE_IDLE); |
439 | if (err != HV_EOK) | 439 | if (err != HV_EOK) |
440 | printk("sun4v_vintr_set_state(%lx,%lx," | 440 | printk(KERN_ERR "sun4v_vintr_set_state(%lx,%lx," |
441 | "HV_INTR_STATE_IDLE): err(%d)\n", | 441 | "HV_INTR_STATE_IDLE): err(%d)\n", |
442 | dev_handle, dev_ino, err); | 442 | dev_handle, dev_ino, err); |
443 | err = sun4v_vintr_set_valid(dev_handle, dev_ino, | 443 | err = sun4v_vintr_set_valid(dev_handle, dev_ino, |
444 | HV_INTR_ENABLED); | 444 | HV_INTR_ENABLED); |
445 | if (err != HV_EOK) | 445 | if (err != HV_EOK) |
446 | printk("sun4v_vintr_set_state(%lx,%lx," | 446 | printk(KERN_ERR "sun4v_vintr_set_state(%lx,%lx," |
447 | "HV_INTR_ENABLED): err(%d)\n", | 447 | "HV_INTR_ENABLED): err(%d)\n", |
448 | dev_handle, dev_ino, err); | 448 | dev_handle, dev_ino, err); |
449 | } | 449 | } |
@@ -465,7 +465,7 @@ static void sun4v_virt_set_affinity(unsigned int virt_irq, cpumask_t mask) | |||
465 | 465 | ||
466 | err = sun4v_vintr_set_target(dev_handle, dev_ino, cpuid); | 466 | err = sun4v_vintr_set_target(dev_handle, dev_ino, cpuid); |
467 | if (err != HV_EOK) | 467 | if (err != HV_EOK) |
468 | printk("sun4v_vintr_set_target(%lx,%lx,%lu): " | 468 | printk(KERN_ERR "sun4v_vintr_set_target(%lx,%lx,%lu): " |
469 | "err(%d)\n", | 469 | "err(%d)\n", |
470 | dev_handle, dev_ino, cpuid, err); | 470 | dev_handle, dev_ino, cpuid, err); |
471 | } | 471 | } |
@@ -486,7 +486,7 @@ static void sun4v_virq_disable(unsigned int virt_irq) | |||
486 | err = sun4v_vintr_set_valid(dev_handle, dev_ino, | 486 | err = sun4v_vintr_set_valid(dev_handle, dev_ino, |
487 | HV_INTR_DISABLED); | 487 | HV_INTR_DISABLED); |
488 | if (err != HV_EOK) | 488 | if (err != HV_EOK) |
489 | printk("sun4v_vintr_set_state(%lx,%lx," | 489 | printk(KERN_ERR "sun4v_vintr_set_state(%lx,%lx," |
490 | "HV_INTR_DISABLED): err(%d)\n", | 490 | "HV_INTR_DISABLED): err(%d)\n", |
491 | dev_handle, dev_ino, err); | 491 | dev_handle, dev_ino, err); |
492 | } | 492 | } |
@@ -511,7 +511,7 @@ static void sun4v_virq_end(unsigned int virt_irq) | |||
511 | err = sun4v_vintr_set_state(dev_handle, dev_ino, | 511 | err = sun4v_vintr_set_state(dev_handle, dev_ino, |
512 | HV_INTR_STATE_IDLE); | 512 | HV_INTR_STATE_IDLE); |
513 | if (err != HV_EOK) | 513 | if (err != HV_EOK) |
514 | printk("sun4v_vintr_set_state(%lx,%lx," | 514 | printk(KERN_ERR "sun4v_vintr_set_state(%lx,%lx," |
515 | "HV_INTR_STATE_IDLE): err(%d)\n", | 515 | "HV_INTR_STATE_IDLE): err(%d)\n", |
516 | dev_handle, dev_ino, err); | 516 | dev_handle, dev_ino, err); |
517 | } | 517 | } |