lkml.org 
[lkml]   [1998]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Volatile magic
Date
> Patch to scheduler is attached, it kills comment duplication, and adds
> one volatile, which is IMO needed.

Nope. It isnt needed. The case in asm/i386 is a special case where gcc
optimisation outwits a clever misuse of the gcc calling convention

> Please note that if you want to know if long is 64bit, #if ((~0UL) ==
> 0xffffffff) is not good way - what about crosscompiling? I already

It is the right way to do it if your cross C pre-processor is decent. If
your native and cross build compilers generate different output you have a
MAJOR bug. So cpp should (and I think does) evaluate maths in the targets
maths format.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.068 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site