Permalink
Browse files

Added zRam. Cherry picked from 3.4 I believe it was :)

  • Loading branch information...
1 parent a93d97a commit eb06a99390675deaf77ee0b44c118fe53e84d55b @omegamoon committed Aug 24, 2012
Showing with 376 additions and 228 deletions.
  1. +6 −4 .config
  2. +344 −207 drivers/staging/zram/zram_drv.c
  3. +12 −9 drivers/staging/zram/zram_drv.h
  4. +14 −8 drivers/staging/zram/zram_sysfs.c
View
10 .config
@@ -36,7 +36,7 @@ CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
-CONFIG_LOCALVERSION="$(KERNEL_LOCAL_VERSION)-omegamoon-20120820"
+CONFIG_LOCALVERSION="$(KERNEL_LOCAL_VERSION)-omegamoon-20120824"
CONFIG_LOCALVERSION_AUTO=y
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
@@ -45,7 +45,7 @@ CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
-# CONFIG_SWAP is not set
+CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
@@ -1004,6 +1004,7 @@ CONFIG_MTD_BLOCK=y
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
+# CONFIG_MTD_SWAP is not set
#
# RAM/ROM/Flash chip drivers
@@ -2509,8 +2510,9 @@ CONFIG_ANDROID_LOW_MEMORY_KILLER=y
# CONFIG_LINE6_USB is not set
# CONFIG_VT6656 is not set
# CONFIG_IIO is not set
-# CONFIG_XVMALLOC is not set
-# CONFIG_ZRAM is not set
+CONFIG_XVMALLOC=y
+CONFIG_ZRAM=y
+# CONFIG_ZRAM_DEBUG is not set
# CONFIG_ZCACHE is not set
CONFIG_QCACHE=y
# CONFIG_FB_SM7XX is not set
Oops, something went wrong.

0 comments on commit eb06a99

Please sign in to comment.