Re: [PATCH 13/56] microblaze_v2: PVR support, cpuinfo support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FIXED.


>> +int cpu_has_pvr(void)
>> +{
>> +	unsigned flags;
>> +	unsigned pvr0;
>> +	int ret = 0;
>> +
>> +	local_irq_save(flags);
>> +
> 
> ...
> 
>> +out:
>> +	local_irq_restore(flags);
>> +	return ret;
>> +}
> 
> The actual IRQ clear/restore is not required - can you just use
> local_save_flags() or similar to read the MSR?

--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux