if (imap == 0UL)
return;
+ preempt_disable();
+
if (tlb_type == cheetah || tlb_type == cheetah_plus) {
unsigned long ver;
* Things like FFB can now be handled via the new IRQ mechanism.
*/
upa_writel(tid | IMAP_VALID, imap);
+
+ preempt_enable();
}
/* This now gets passed true ino's as well. */
#define HEX_DIGITS 16
-static unsigned int parse_hex_value (const char *buffer,
+static unsigned int parse_hex_value (const char __user *buffer,
unsigned long count, unsigned long *ret)
{
unsigned char hexnum [HEX_DIGITS];
*/
}
-static int irq_affinity_write_proc (struct file *file, const char *buffer,
+static int irq_affinity_write_proc (struct file *file, const char __user *buffer,
unsigned long count, void *data)
{
int irq = (long) data, full_count = count, err;