lkml.org 
[lkml]   [2010]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: fix apic.h unused but set warnings
>  At least the former code _didn't_ hide the details of which
> part of 'long long' value we need. Would not
>
> u64 val;
> rdmsrl(APIC_BASE_MSR + (reg >> 4), val);
> return (u32)val;
>
> be more clear?

Maybe, but I doubt it will make much difference either way.

-Andi
--
ak@linux.intel.com -- Speaking for myself only.


\
 
 \ /
  Last update: 2010-11-08 01:41    [W:0.065 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site