Re: [PATCH] gfp_t

Rasmus Andersen (rasmus@jaquet.dk)
Thu, 26 Sep 2002 20:59:24 +0200


--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 26, 2002 at 02:35:30PM +1000, Rusty Russell wrote:
> This creates a mythical gfp_t for passing gfp states, and conversion
> macros __GFP() and __UNGFP(), to give warnings, It's 55k, so
> compressed and attached.

This breaks ntfs/malloc.h which is doing the following:
49: return __vmalloc(size, GFP_NOFS | __GFP_HIGHMEM, PAGE_KERNEL);

This turns into=20
=09
return __vmalloc(size, ((struct gfp_arg *)(0x10 | 0x40 |
0x80)) | 0x02, ((pgprot_t) { (__PAGE_KERNEL) } ));
=09
which '|' is not happy with.

Regards,
Rasmus

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9k1kMlZJASZ6eJs4RAtFJAJ4szg9Fv5EUe/wN0pm2vohOjMpf3gCfUjfM
n0GtQXK7MAZL3/+vjfBxyR0=
=VBcf
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--
-
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/