login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
8
Re: [PATCH] x86: fix apic.h unused but set warnings v2
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Thomas Gleixner
Subject:
Re: [PATCH] x86: fix apic.h unused but set warnings v2
Date: Monday, November 8, 2010 - 2:39 pm
On Mon, 8 Nov 2010, Andi Kleen wrote:
quoted text
> static inline u32 native_apic_msr_read(u32 reg) > { > - u32 low, high; > + u32 low; > > if (reg == APIC_DFR) > return -1; > > - rdmsr(APIC_BASE_MSR + (reg >> 4), low, high); > - return low; > + rdmsrl(APIC_BASE_MSR + (reg >> 4), low); > + return (u32)low;
What's the point of casting u32 to u32 ? Thanks, tglx --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] x86: fix apic.h unused but set warnings v2
, Andi Kleen
, (Mon Nov 8, 2:20 pm)
Re: [PATCH] x86: fix apic.h unused but set warnings v2
, Thomas Gleixner
, (Mon Nov 8, 2:39 pm)
Re: [PATCH] x86: fix apic.h unused but set warnings v2
, Andi Kleen
, (Mon Nov 8, 2:57 pm)
Re: [PATCH] x86: fix apic.h unused but set warnings v2
, Cyrill Gorcunov
, (Mon Nov 8, 3:15 pm)
Re: [PATCH] x86: fix apic.h unused but set warnings v2
, Andi Kleen
, (Mon Nov 8, 6:50 pm)
Re: [PATCH] x86: fix apic.h unused but set warnings v2
, Cyrill Gorcunov
, (Tue Nov 9, 1:22 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Dan Chokola
Re: how do you "force a pull"?
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Colocation donated by:
Syndicate