Re: [PATCH] NTFS sparc compile fix

Albert D. Cahalan (acahalan@cs.uml.edu)
Mon, 19 Nov 2001 03:52:40 -0500 (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/