[kernel] r6308 - people/waldi/linux-kbuild-2.6/src/mod

Bastian Blank waldi at costa.debian.org
Tue Mar 28 12:23:58 UTC 2006


Author: waldi
Date: Tue Mar 28 12:23:56 2006
New Revision: 6308

Added:
   people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.cpp
      - copied, changed from r6302, people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.cpp
   people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.hpp
      - copied, changed from r6302, people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.hpp
   people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.tpp
      - copied, changed from r6302, people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.tpp
Removed:
   people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.cpp
   people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.hpp
   people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.tpp
Modified:
   people/waldi/linux-kbuild-2.6/src/mod/Makefile
   people/waldi/linux-kbuild-2.6/src/mod/module_devicetable.hpp
   people/waldi/linux-kbuild-2.6/src/mod/module_devicetable.tpp
Log:
src/mod: Rename files and classes for 2.6.16 support.


Modified: people/waldi/linux-kbuild-2.6/src/mod/Makefile
==============================================================================
--- people/waldi/linux-kbuild-2.6/src/mod/Makefile	(original)
+++ people/waldi/linux-kbuild-2.6/src/mod/Makefile	Tue Mar 28 12:23:56 2006
@@ -10,7 +10,7 @@
 	  install -D "$$p" "$(prefix)/scripts/mod/$$p"; \
 	done
 
-modpost: elf.o modpost.o module.o module_devicetable.o module_devicetable_impl_2_6_10.o
+modpost: elf.o modpost.o module.o module_devicetable.o module_devicetable_impl_2_6_16.o
 	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
 
 %.o: %.cpp %.hpp endian.hpp

Modified: people/waldi/linux-kbuild-2.6/src/mod/module_devicetable.hpp
==============================================================================
--- people/waldi/linux-kbuild-2.6/src/mod/module_devicetable.hpp	(original)
+++ people/waldi/linux-kbuild-2.6/src/mod/module_devicetable.hpp	Tue Mar 28 12:23:56 2006
@@ -40,7 +40,7 @@
     class device_pnp_card { };
     class device_usb { };
 
-    class version_2_6_10 { };
+    class version_2_6_16 { };
 
     namespace internal
     {

Modified: people/waldi/linux-kbuild-2.6/src/mod/module_devicetable.tpp
==============================================================================
--- people/waldi/linux-kbuild-2.6/src/mod/module_devicetable.tpp	(original)
+++ people/waldi/linux-kbuild-2.6/src/mod/module_devicetable.tpp	Tue Mar 28 12:23:56 2006
@@ -46,7 +46,7 @@
           return 0;
         const Elf::section *sec = f->get_section (sym->get_shndx ());
         const char *mem = static_cast <const char *> (sec->_mem ());
-        return new table_data<device, version_2_6_10, Elf_class, Elf_data> (mem + sym->get_value (), sym->get_size ());
+        return new table_data<device, version_2_6_16, Elf_class, Elf_data> (mem + sym->get_value (), sym->get_size ());
       }
   }
 }

Copied: people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.cpp (from r6302, people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.cpp)
==============================================================================
--- people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.cpp	(original)
+++ people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.cpp	Tue Mar 28 12:23:56 2006
@@ -1,5 +1,5 @@
 /*
- * module_devicetable_impl_2_6_10.cpp
+ * module_devicetable_impl_2_6_16.cpp
  *
  * Copyright (C) 2005 Bastian Blank <waldi at debian.org>
  *
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "module_devicetable_impl_2_6_10.hpp"
+#include "module_devicetable_impl_2_6_16.hpp"
 
 #include <cstdio>
 #include <stdint.h>
@@ -49,14 +49,14 @@
   return out;
 }
 
-table_entry_version<device_ccw, version_2_6_10>::table_entry_version () throw () :
+table_entry_version<device_ccw, version_2_6_16>::table_entry_version () throw () :
   cu_type ("t"),
   dev_type ("m"),
   cu_model ("dt"),
   dev_model ("dm")
 { }
 
-void table_entry_version<device_ccw, version_2_6_10>::write (std::ostream &out) const throw (std::runtime_error)
+void table_entry_version<device_ccw, version_2_6_16>::write (std::ostream &out) const throw (std::runtime_error)
 {
   out << "ccw:";
   cu_type.write (out, match_flags & CCW_DEVICE_ID_MATCH_CU_TYPE);
@@ -65,14 +65,14 @@
   dev_model.write (out, match_flags & CCW_DEVICE_ID_MATCH_DEVICE_TYPE);
 }
 
-table_entry_version<device_ieee1394, version_2_6_10>::table_entry_version () throw () :
+table_entry_version<device_ieee1394, version_2_6_16>::table_entry_version () throw () :
   vendor_id ("ven"),
   model_id ("mo"),
   specifier_id ("sp"),
   version ("ver")
 { }
 
-void table_entry_version<device_ieee1394, version_2_6_10>::write (std::ostream &out) const throw (std::runtime_error)
+void table_entry_version<device_ieee1394, version_2_6_16>::write (std::ostream &out) const throw (std::runtime_error)
 {
   out << "ieee1394:";
   vendor_id.write (out, match_flags & IEEE1394_MATCH_VENDOR_ID);
@@ -81,14 +81,14 @@
   version.write (out, match_flags & IEEE1394_MATCH_VERSION, true);
 }
 
-table_entry_version<device_pci, version_2_6_10>::table_entry_version () throw () :
+table_entry_version<device_pci, version_2_6_16>::table_entry_version () throw () :
   vendor ("v"),
   device ("d"),
   subvendor ("sv"),
   subdevice ("sd")
 { }
 
-void table_entry_version<device_pci, version_2_6_10>::write (std::ostream &out) const throw (std::runtime_error)
+void table_entry_version<device_pci, version_2_6_16>::write (std::ostream &out) const throw (std::runtime_error)
 {
   out << "pci:";
   vendor.write (out, vendor != PCI_ANY_ID);
@@ -113,17 +113,17 @@
   interface.write (out, interface_mask == 0xFF, true);
 }
 
-void table_entry_version<device_pnp, version_2_6_10>::write (std::ostream &out) const throw (std::runtime_error)
+void table_entry_version<device_pnp, version_2_6_16>::write (std::ostream &out) const throw (std::runtime_error)
 {
   out << "pnp:" << str << '*';
 }
 
-void table_entry_version<device_pnp_card, version_2_6_10>::write (std::ostream &out) const throw (std::runtime_error)
+void table_entry_version<device_pnp_card, version_2_6_16>::write (std::ostream &out) const throw (std::runtime_error)
 {
   out << "pnp:" << str << '*';
 }
 
-table_entry_version<device_usb, version_2_6_10>::table_entry_version () throw () :
+table_entry_version<device_usb, version_2_6_16>::table_entry_version () throw () :
   idVendor ("v"),
   idProduct ("p"),
   bcdDevice_lo ("dl"),
@@ -136,7 +136,7 @@
   bInterfaceProtocol ("ip")
 { }
 
-void table_entry_version<device_usb, version_2_6_10>::write (std::ostream &out) const throw (std::runtime_error)
+void table_entry_version<device_usb, version_2_6_16>::write (std::ostream &out) const throw (std::runtime_error)
 {
   if (!idVendor && !bDeviceClass && !bInterfaceClass)
     return;
@@ -154,27 +154,27 @@
   bInterfaceProtocol.write (out, match_flags & USB_DEVICE_ID_MATCH_INT_PROTOCOL, true);
 }
 
-template class table_data<device_ccw, version_2_6_10, Elf::file_class_32, Elf::file_data_2LSB>;
-template class table_data<device_ccw, version_2_6_10, Elf::file_class_32, Elf::file_data_2MSB>;
-template class table_data<device_ccw, version_2_6_10, Elf::file_class_64, Elf::file_data_2LSB>;
-template class table_data<device_ccw, version_2_6_10, Elf::file_class_64, Elf::file_data_2MSB>;
-template class table_data<device_ieee1394, version_2_6_10, Elf::file_class_32, Elf::file_data_2LSB>;
-template class table_data<device_ieee1394, version_2_6_10, Elf::file_class_32, Elf::file_data_2MSB>;
-template class table_data<device_ieee1394, version_2_6_10, Elf::file_class_64, Elf::file_data_2LSB>;
-template class table_data<device_ieee1394, version_2_6_10, Elf::file_class_64, Elf::file_data_2MSB>;
-template class table_data<device_pci, version_2_6_10, Elf::file_class_32, Elf::file_data_2LSB>;
-template class table_data<device_pci, version_2_6_10, Elf::file_class_32, Elf::file_data_2MSB>;
-template class table_data<device_pci, version_2_6_10, Elf::file_class_64, Elf::file_data_2LSB>;
-template class table_data<device_pci, version_2_6_10, Elf::file_class_64, Elf::file_data_2MSB>;
-template class table_data<device_pnp, version_2_6_10, Elf::file_class_32, Elf::file_data_2LSB>;
-template class table_data<device_pnp, version_2_6_10, Elf::file_class_32, Elf::file_data_2MSB>;
-template class table_data<device_pnp, version_2_6_10, Elf::file_class_64, Elf::file_data_2LSB>;
-template class table_data<device_pnp, version_2_6_10, Elf::file_class_64, Elf::file_data_2MSB>;
-template class table_data<device_pnp_card, version_2_6_10, Elf::file_class_32, Elf::file_data_2LSB>;
-template class table_data<device_pnp_card, version_2_6_10, Elf::file_class_32, Elf::file_data_2MSB>;
-template class table_data<device_pnp_card, version_2_6_10, Elf::file_class_64, Elf::file_data_2LSB>;
-template class table_data<device_pnp_card, version_2_6_10, Elf::file_class_64, Elf::file_data_2MSB>;
-template class table_data<device_usb, version_2_6_10, Elf::file_class_32, Elf::file_data_2LSB>;
-template class table_data<device_usb, version_2_6_10, Elf::file_class_32, Elf::file_data_2MSB>;
-template class table_data<device_usb, version_2_6_10, Elf::file_class_64, Elf::file_data_2LSB>;
-template class table_data<device_usb, version_2_6_10, Elf::file_class_64, Elf::file_data_2MSB>;
+template class table_data<device_ccw, version_2_6_16, Elf::file_class_32, Elf::file_data_2LSB>;
+template class table_data<device_ccw, version_2_6_16, Elf::file_class_32, Elf::file_data_2MSB>;
+template class table_data<device_ccw, version_2_6_16, Elf::file_class_64, Elf::file_data_2LSB>;
+template class table_data<device_ccw, version_2_6_16, Elf::file_class_64, Elf::file_data_2MSB>;
+template class table_data<device_ieee1394, version_2_6_16, Elf::file_class_32, Elf::file_data_2LSB>;
+template class table_data<device_ieee1394, version_2_6_16, Elf::file_class_32, Elf::file_data_2MSB>;
+template class table_data<device_ieee1394, version_2_6_16, Elf::file_class_64, Elf::file_data_2LSB>;
+template class table_data<device_ieee1394, version_2_6_16, Elf::file_class_64, Elf::file_data_2MSB>;
+template class table_data<device_pci, version_2_6_16, Elf::file_class_32, Elf::file_data_2LSB>;
+template class table_data<device_pci, version_2_6_16, Elf::file_class_32, Elf::file_data_2MSB>;
+template class table_data<device_pci, version_2_6_16, Elf::file_class_64, Elf::file_data_2LSB>;
+template class table_data<device_pci, version_2_6_16, Elf::file_class_64, Elf::file_data_2MSB>;
+template class table_data<device_pnp, version_2_6_16, Elf::file_class_32, Elf::file_data_2LSB>;
+template class table_data<device_pnp, version_2_6_16, Elf::file_class_32, Elf::file_data_2MSB>;
+template class table_data<device_pnp, version_2_6_16, Elf::file_class_64, Elf::file_data_2LSB>;
+template class table_data<device_pnp, version_2_6_16, Elf::file_class_64, Elf::file_data_2MSB>;
+template class table_data<device_pnp_card, version_2_6_16, Elf::file_class_32, Elf::file_data_2LSB>;
+template class table_data<device_pnp_card, version_2_6_16, Elf::file_class_32, Elf::file_data_2MSB>;
+template class table_data<device_pnp_card, version_2_6_16, Elf::file_class_64, Elf::file_data_2LSB>;
+template class table_data<device_pnp_card, version_2_6_16, Elf::file_class_64, Elf::file_data_2MSB>;
+template class table_data<device_usb, version_2_6_16, Elf::file_class_32, Elf::file_data_2LSB>;
+template class table_data<device_usb, version_2_6_16, Elf::file_class_32, Elf::file_data_2MSB>;
+template class table_data<device_usb, version_2_6_16, Elf::file_class_64, Elf::file_data_2LSB>;
+template class table_data<device_usb, version_2_6_16, Elf::file_class_64, Elf::file_data_2MSB>;

Copied: people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.hpp (from r6302, people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.hpp)
==============================================================================
--- people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.hpp	(original)
+++ people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.hpp	Tue Mar 28 12:23:56 2006
@@ -1,5 +1,5 @@
 /*
- * module_devicetable_impl_2_6_10.hpp
+ * module_devicetable_impl_2_6_16.hpp
  *
  * Copyright (C) 2005 Bastian Blank <waldi at debian.org>
  *
@@ -18,8 +18,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#ifndef MODULE_DEVICETABLE_IMPL_2_6_10_HPP
-#define MODULE_DEVICETABLE_IMPL_2_6_10_HPP
+#ifndef MODULE_DEVICETABLE_IMPL_2_6_16_HPP
+#define MODULE_DEVICETABLE_IMPL_2_6_16_HPP
 
 #include "module_devicetable.hpp"
 
@@ -202,7 +202,7 @@
   namespace module_devicetable
   {
     template<>
-      class table_entry_version<device_ccw, version_2_6_10> : public table_entry
+      class table_entry_version<device_ccw, version_2_6_16> : public table_entry
       {
         public:
           table_entry_version () throw ();
@@ -216,14 +216,14 @@
       };
 
     template<typename Elf_class, typename Elf_data>
-      class table_entry_data<device_ccw, version_2_6_10, Elf_class, Elf_data> : public table_entry_version<device_ccw, version_2_6_10>
+      class table_entry_data<device_ccw, version_2_6_16, Elf_class, Elf_data> : public table_entry_version<device_ccw, version_2_6_16>
       {
         public:
           table_entry_data (const device_id<device_ccw, Elf_class> &) throw ();
       };
 
     template<>
-      class table_entry_version<device_ieee1394, version_2_6_10> : public table_entry
+      class table_entry_version<device_ieee1394, version_2_6_16> : public table_entry
       {
         public:
           table_entry_version () throw ();
@@ -237,14 +237,14 @@
       };
 
     template<typename Elf_class, typename Elf_data>
-      class table_entry_data<device_ieee1394, version_2_6_10, Elf_class, Elf_data> : public table_entry_version<device_ieee1394, version_2_6_10>
+      class table_entry_data<device_ieee1394, version_2_6_16, Elf_class, Elf_data> : public table_entry_version<device_ieee1394, version_2_6_16>
       {
         public:
           table_entry_data (const device_id<device_ieee1394, Elf_class> &) throw ();
       };
 
     template<>
-      class table_entry_version<device_pci, version_2_6_10> : public table_entry
+      class table_entry_version<device_pci, version_2_6_16> : public table_entry
       {
         public:
           table_entry_version () throw ();
@@ -256,14 +256,14 @@
       };
 
     template<typename Elf_class, typename Elf_data>
-      class table_entry_data<device_pci, version_2_6_10, Elf_class, Elf_data> : public table_entry_version<device_pci, version_2_6_10>
+      class table_entry_data<device_pci, version_2_6_16, Elf_class, Elf_data> : public table_entry_version<device_pci, version_2_6_16>
       {
         public:
           table_entry_data (const device_id<device_pci, Elf_class> &) throw ();
       };
 
     template<>
-      class table_entry_version<device_pnp, version_2_6_10> : public table_entry
+      class table_entry_version<device_pnp, version_2_6_16> : public table_entry
       {
         public:
           void write (std::ostream &) const throw (std::runtime_error);
@@ -272,14 +272,14 @@
       };
 
     template<typename Elf_class, typename Elf_data>
-      class table_entry_data<device_pnp, version_2_6_10, Elf_class, Elf_data> : public table_entry_version<device_pnp, version_2_6_10>
+      class table_entry_data<device_pnp, version_2_6_16, Elf_class, Elf_data> : public table_entry_version<device_pnp, version_2_6_16>
       {
         public:
           table_entry_data (const device_id<device_pnp, Elf_class> &) throw ();
       };
 
     template<>
-      class table_entry_version<device_pnp_card, version_2_6_10> : public table_entry
+      class table_entry_version<device_pnp_card, version_2_6_16> : public table_entry
       {
         public:
           void write (std::ostream &) const throw (std::runtime_error);
@@ -288,14 +288,14 @@
       };
 
     template<typename Elf_class, typename Elf_data>
-      class table_entry_data<device_pnp_card, version_2_6_10, Elf_class, Elf_data> : public table_entry_version<device_pnp_card, version_2_6_10>
+      class table_entry_data<device_pnp_card, version_2_6_16, Elf_class, Elf_data> : public table_entry_version<device_pnp_card, version_2_6_16>
       {
         public:
           table_entry_data (const device_id<device_pnp_card, Elf_class> &) throw ();
       };
 
     template<>
-      class table_entry_version<device_usb, version_2_6_10> : public table_entry
+      class table_entry_version<device_usb, version_2_6_16> : public table_entry
       {
         public:
           table_entry_version () throw ();
@@ -315,14 +315,14 @@
       };
 
     template<typename Elf_class, typename Elf_data>
-      class table_entry_data<device_usb, version_2_6_10, Elf_class, Elf_data> : public table_entry_version<device_usb, version_2_6_10>
+      class table_entry_data<device_usb, version_2_6_16, Elf_class, Elf_data> : public table_entry_version<device_usb, version_2_6_16>
       {
         public:
           table_entry_data (const device_id<device_usb, Elf_class> &) throw ();
       };
 
     template<typename device, typename Elf_class, typename Elf_data>
-      class table_data<device, version_2_6_10, Elf_class, Elf_data> : public table<device_ccw, Elf_class, Elf_data>
+      class table_data<device, version_2_6_16, Elf_class, Elf_data> : public table<device_ccw, Elf_class, Elf_data>
       {
         protected:
           typedef device_id<device, Elf_class> devin;
@@ -334,7 +334,7 @@
 }
 
 #ifndef DISABLE_TEMPLATES
-#include "module_devicetable_impl_2_6_10.tpp"
+#include "module_devicetable_impl_2_6_16.tpp"
 #endif
 
 #endif

Copied: people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.tpp (from r6302, people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.tpp)
==============================================================================
--- people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_10.tpp	(original)
+++ people/waldi/linux-kbuild-2.6/src/mod/module_devicetable_impl_2_6_16.tpp	Tue Mar 28 12:23:56 2006
@@ -1,5 +1,5 @@
 /*
- * module_devicetable_impl_2_6_10.tpp
+ * module_devicetable_impl_2_6_16.tpp
  *
  * Copyright (C) 2005 Bastian Blank <waldi at debian.org>
  *
@@ -18,8 +18,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#ifndef MODULE_DEVICETABLE_IMPL_2_6_10_TPP
-#define MODULE_DEVICETABLE_IMPL_2_6_10_TPP
+#ifndef MODULE_DEVICETABLE_IMPL_2_6_16_TPP
+#define MODULE_DEVICETABLE_IMPL_2_6_16_TPP
 
 #include <sstream>
 
@@ -30,7 +30,7 @@
 #define _do_convert(name) name = Elf::convert<Elf_data, typeof (id.name)> () (id.name)
 
     template<typename Elf_class, typename Elf_data>
-      table_entry_data<device_ccw, version_2_6_10, Elf_class, Elf_data>::table_entry_data (const device_id<device_ccw, Elf_class> &id) throw ()
+      table_entry_data<device_ccw, version_2_6_16, Elf_class, Elf_data>::table_entry_data (const device_id<device_ccw, Elf_class> &id) throw ()
       {
         _do_convert (match_flags);
         _do_convert (cu_type);
@@ -40,7 +40,7 @@
       }
 
     template<typename Elf_class, typename Elf_data>
-      table_entry_data<device_ieee1394, version_2_6_10, Elf_class, Elf_data>::table_entry_data (const device_id<device_ieee1394, Elf_class> &id) throw ()
+      table_entry_data<device_ieee1394, version_2_6_16, Elf_class, Elf_data>::table_entry_data (const device_id<device_ieee1394, Elf_class> &id) throw ()
       {
         _do_convert (match_flags);
         _do_convert (vendor_id);
@@ -50,7 +50,7 @@
       }
 
     template<typename Elf_class, typename Elf_data>
-      table_entry_data<device_pci, version_2_6_10, Elf_class, Elf_data>::table_entry_data (const device_id<device_pci, Elf_class> &id) throw ()
+      table_entry_data<device_pci, version_2_6_16, Elf_class, Elf_data>::table_entry_data (const device_id<device_pci, Elf_class> &id) throw ()
       {
         _do_convert (vendor);
         _do_convert (device);
@@ -61,7 +61,7 @@
       }
 
     template<typename Elf_class, typename Elf_data>
-      table_entry_data<device_pnp, version_2_6_10, Elf_class, Elf_data>::table_entry_data (const device_id<device_pnp, Elf_class> &id) throw ()
+      table_entry_data<device_pnp, version_2_6_16, Elf_class, Elf_data>::table_entry_data (const device_id<device_pnp, Elf_class> &id) throw ()
       {
         std::stringstream s;
         s << 'd';
@@ -70,7 +70,7 @@
       }
 
     template<typename Elf_class, typename Elf_data>
-      table_entry_data<device_pnp_card, version_2_6_10, Elf_class, Elf_data>::table_entry_data (const device_id<device_pnp_card, Elf_class> &id) throw ()
+      table_entry_data<device_pnp_card, version_2_6_16, Elf_class, Elf_data>::table_entry_data (const device_id<device_pnp_card, Elf_class> &id) throw ()
       {
         std::stringstream s;
         s << 'c';
@@ -86,7 +86,7 @@
       }
 
     template<typename Elf_class, typename Elf_data>
-      table_entry_data<device_usb, version_2_6_10, Elf_class, Elf_data>::table_entry_data (const device_id<device_usb, Elf_class> &id) throw ()
+      table_entry_data<device_usb, version_2_6_16, Elf_class, Elf_data>::table_entry_data (const device_id<device_usb, Elf_class> &id) throw ()
       {
         _do_convert (match_flags);
         _do_convert (idVendor);
@@ -102,7 +102,7 @@
       }
 
     template<typename device, typename Elf_class, typename Elf_data>
-      table_data<device, version_2_6_10, Elf_class, Elf_data>::table_data (const void *mem, size_t size) throw (std::runtime_error)
+      table_data<device, version_2_6_16, Elf_class, Elf_data>::table_data (const void *mem, size_t size) throw (std::runtime_error)
       {
         if (size % sizeof (devin))
           throw std::runtime_error ("Bad size");
@@ -112,7 +112,7 @@
         const devin *e = static_cast <const devin *> (mem);
         this->entries.reserve (len);
         for (size_t i = 0; i < len; ++i)
-          this->entries.push_back (new table_entry_data<device, version_2_6_10, Elf_class, Elf_data> (e[i]));
+          this->entries.push_back (new table_entry_data<device, version_2_6_16, Elf_class, Elf_data> (e[i]));
       }
   }
 }



More information about the Kernel-svn-changes mailing list