lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 20 Jul 2008 10:46:19 -0500
From:	Emil Medve <Emilian.Medve@...escale.com>
To:	torvalds@...ux-foundation.org, mingo@...hat.com,
	tglx@...utronix.de, linux-kernel@...r.kernel.org,
	linux-smp@...r.kernel.org
Cc:	Emil Medve <Emilian.Medve@...escale.com>
Subject: [PATCH] Export irq_set_affinity()

Signed-off-by: Emil Medve <Emilian.Medve@...escale.com>
---

This is needed for drivers built as modules and running on SMP systems that want
to set initial/default explicit IRQ balancing

$ scripts/checkpatch.pl 0001-Export-irq_set_affinity.patch 
total: 0 errors, 0 warnings, 7 lines checked

0001-Export-irq_set_affinity.patch has no obvious style problems and is ready for submission.

 kernel/irq/manage.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 77a51be..29c5b5a 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -96,6 +96,7 @@ int irq_set_affinity(unsigned int irq, cpumask_t cpumask)
 #endif
 	return 0;
 }
+EXPORT_SYMBOL(irq_set_affinity);
 
 #ifndef CONFIG_AUTO_IRQ_AFFINITY
 /*
-- 
1.5.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ