[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101108003831.GF17592@basil.fritz.box>
Date: Mon, 8 Nov 2010 01:38:31 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Cyrill Gorcunov <gorcunov@...il.com>
Cc: Andi Kleen <andi@...stfloor.org>, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>,
x86@...nel.org
Subject: Re: [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@...ux.intel.com -- Speaking for myself only.
--
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