Messages in this thread | | | From | Matteo Croce <> | Date | Fri, 27 Aug 2010 23:32:04 +0200 | Subject | Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2 |
| |
can I ignore the return value when I expect val to be non zero? the doc says: "On error, the variable @x is set to zero."
On Fri, Aug 27, 2010 at 10:49 PM, Thomas Backlund <tmb@mandriva.org> wrote: > 27.08.2010 23:15, Matteo Croce skrev: >> >> On Fri, Aug 27, 2010 at 8:48 PM, H. Peter Anvin<hpa@zytor.com> wrote: >>> >>> You're doing user-space references without get_user(). >>> >>> -hpa >>> >>> -- >>> H. Peter Anvin, Intel Open Source Technology Center >>> I work for Intel. I don't speak on their behalf. >>> >>> >> >> Here with get_user. >> I CC Natale which is my beta tester, he have some Alix boards running >> 24/24 >> with my patch >> >> --- a/arch/x86/kernel/Makefile 2010-08-27 19:42:01.795858001 +0200 >> +++ b/arch/x86/kernel/Makefile 2010-08-27 19:42:12.525858001 +0200 >> @@ -88,6 +88,8 @@ >> obj-$(CONFIG_APB_TIMER) += apb_timer.o >> >> obj-$(CONFIG_K8_NB) += k8.o >> +obj-$(CONFIG_GEODE_NOPL) += nopl_emu.o >> +obj-$(CONFIG_GEODE_NOPL) += nopl_emu.o > > Same line added twice... > > -- > Thomas >
-- Matteo Croce OpenWrt developer _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M KAMIKAZE (bleeding edge) ------------------ * 10 oz Vodka Shake well with ice and strain * 10 oz Triple sec mixture into 10 shot glasses. * 10 oz lime juice Salute! --------------------------------------------------- -- 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/
| |