lkml.org 
[lkml]   [2008]   [Feb]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 27 Feb 2008 21:59:26 +0100 (CET)
FromThomas Gleixner <>
SubjectRe: hpwdt oops in clflush_cache_range
On Wed, 27 Feb 2008, Thomas Gleixner wrote:
> +static inline int phys_addr_valid(unsigned long addr)
> +{
> +	return addr < (1 << boot_cpu_data.x86_phys_bits);

That needs to be:

+     return addr < (1UL << boot_cpu_data.x86_phys_bits);

Where is my brown paperbag ? I know that GCC _is_ stupid, but I never
remember.

      tglx



\
 
 \ /
  Last update: 2008-02-27 22:03    [from the cache]
©2003-2008