Re: 2.6.12-rc2-mm1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Btw, some more comments on the 32bit compat code in drm:

 - instead of set_fs & co and passing kernel addresses to drm_ioctl
   please use compat_alloc_user_space()

 - this:

+ifeq ($(CONFIG_COMPAT),y)
+drm-objs    += drm_ioc32.o
+radeon-objs += radeon_ioc32.o
+endif

   should be written as

drm-$(CONFIG_COMPAT)	+= drm_ioc32.o
radeon-$(CONFIG_COMPAT)	+= radeon_ioc32.o

   and everything else should use foo-y instead of foo-objs

 - the magic CONFIG_COMPAT changes for SHM handles should only be done when
   a module is set.  CONFIG_COMPAT is set for mostly 64bit systems that can
   run 32bit code and drm shouldn't behave differently just because we can
   run 32bit code.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux