genirq: Set irq thread to RT priority on creation
genirq: Set irq thread to RT priority on creation

When a threaded irq handler is installed the irq thread is initially
created on normal scheduling priority. Only after the irq thread is
woken up it sets its priority to RT_FIFO MAX_USER_RT_PRIO/2 itself.

This means that interrupts that occur directly after the irq handler
is installed will be handled on a normal scheduling priority instead
of the realtime priority that one would expect.

Fix this by setting the RT priority on creation of the irq_thread.

Signed-off-by: Ivo Sieben <a0a8c7fe47938995047519811bdb67ef9ccb7f53@gmail.com>
Cc: Sebastian Andrzej Siewior  <265264fed90bdf8e813a354375ec16f47ebdb1c5@linutronix.de>
Cc: Steven Rostedt <43232e92d70cc7aa53504ad0397085ee47bad87f@goodmis.org>
Link: http://lkml.kernel.org/r/1370254322-17240-1-git-send-email-a0a8c7fe47938995047519811bdb67ef9ccb7f53@gmail.com
Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs