>>>>> "Tony" == Tony Luck <Luck> writes:

Tony> Here's the version that handles region 5 correctly too.  -Tony

Is it always OK to evaluate addr and end more than once?

Or would something like
({ unsigned long __boundary = ((addr) + PGDIR_SIZE) & PGD_MASK;
   unsigend long __region  = __boundary >> 61;
   if (region ==5)
      ...
   else
     ...
})
be better?
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to