diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 3ea2dab..135ab99 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -2306,6 +2306,13 @@ function system_update_8039() {
 }
 
 /**
+ * Enable the new Entity module.
+ */
+function system_update_8040() {
+  update_module_enable(array('entity'));
+}
+
+/**
  * @} End of "defgroup updates-7.x-to-8.x".
  * The next series of updates should start at 9000.
  */
