Re: [patch 3/3] x86, xsave: use BUG_ON() instead of BUILD_BUG_ON()

From: Ingo Molnar
Date: Thu Aug 14 2008 - 04:57:23 EST



* Suresh Siddha <suresh.b.siddha@xxxxxxxxx> wrote:

> All these structure sizes are runtime determined. So use a runtime bug
> check.

applied these patches to tip/x86/xsave:

f65bc21: x86, xsave: use BUG_ON() instead of BUILD_BUG_ON()
ed40595: x86, xsave: clear the user buffer before doing fxsave/xsave
ee2b92a: x86, xsave: remove the redundant access_ok() in setup_rt_frame()

thanks Suresh.

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