Re: [PATCH] x86: Use v8086_mode helper, trivial unification

From: H. Peter Anvin
Date: Thu Jan 17 2008 - 18:08:20 EST


Harvey Harrison wrote:
Use v8086_mode inline in fault_32.c, no functional change
also ifdef the section for 32-bit only and add to fault_64.c

The #ifdef is unnecessary, since v8086_mode() is now a constant zero on x86-64. gcc will remove the if clause.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/