Re: [PATCH] NTFS sparc compile fix

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Mon Nov 19 2001 - 03:52:40 EST


> Please apply below patchlet for your next releases (applies cleanly to
> any recent kernel). It fixes compilation of NTFS driver on Sparc.
...
> + ATTR_IS_ENCRYPTED = __constant_cpu_to_le16(0x4000),
> + ATTR_IS_SPARSE = __constant_cpu_to_le16(0x8000),

Can't SPARC be fixed with something like __builtin_constant_p() ?
It sure looks ugly to need __constant_cpu_to_le16() in a driver.
-
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/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:19 EST