kernel: revert an upstream linux-stable commit that is causing usb regressions on...
[oweals/openwrt.git] / target / linux / generic / patches-3.3 / 930-crashlog.patch
index 6c208f0bc2e659f8b95d6d0ab198548f415e1a81..9a10723d76fe9dff025f3e5d182993063f021bb8 100644 (file)
@@ -26,7 +26,7 @@
  
 +config CRASHLOG
 +      bool "Crash logging"
-+      depends on (!NO_BOOTMEM || HAVE_MEMBLOCK) && !(ARM || SPARC)
++      depends on (!NO_BOOTMEM || HAVE_MEMBLOCK) && !(ARM || SPARC || PPC)
 +
  config BLK_DEV_INITRD
        bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
 +              return;
 +
 +      va_start(args, fmt);
-+      crashlog_buf->len += vsnprintf(
++      crashlog_buf->len += vscnprintf(
 +              &crashlog_buf->data[crashlog_buf->len],
 +              len, fmt, args);
 +      va_end(args);