Merge tag 'v3.10.56' into update
authorStricted <info@stricted.net>
Wed, 21 Mar 2018 21:22:19 +0000 (22:22 +0100)
committerStricted <info@stricted.net>
Wed, 21 Mar 2018 21:24:54 +0000 (22:24 +0100)
This is the 3.10.56 stable release

29 files changed:
1  2 
Makefile
arch/arm/kernel/irq.c
arch/arm64/kernel/process.c
arch/arm64/kernel/ptrace.c
arch/arm64/kernel/sys_compat.c
block/genhd.c
block/partition-generic.c
drivers/hid/hid-magicmouse.c
drivers/usb/core/hub.c
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.c
drivers/usb/serial/option.c
drivers/usb/serial/usb-serial.c
drivers/usb/storage/unusual_devs.h
fs/buffer.c
fs/nfs/nfs4proc.c
kernel/events/core.c
kernel/fork.c
kernel/power/main.c
kernel/power/power.h
kernel/power/suspend.c
kernel/time/alarmtimer.c
kernel/trace/ring_buffer.c
mm/oom_kill.c
mm/shmem.c
mm/util.c
net/netfilter/nf_conntrack_proto_tcp.c
sound/core/info.c
sound/core/pcm_lib.c

diff --cc Makefile
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc block/genhd.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/buffer.c
Simple merge
Simple merge
Simple merge
diff --cc kernel/fork.c
Simple merge
Simple merge
Simple merge
index 19951c09ba856008afa8fbe8754beda37c2becdc,903c517b14da5c4719d6b848645a505bd31913bb..b554a91fdee22c0b6556a5b324e70952bba73466
  
  #include "power.h"
  
- const char *const pm_states[PM_SUSPEND_MAX] = {
- //<20130327> <marc.huang> merge from android kernel 3.0 - add [PM_SUSPEND_ON] into pm_states
+ struct pm_sleep_state pm_states[PM_SUSPEND_MAX] = {
 +#ifdef CONFIG_EARLYSUSPEND
-       [PM_SUSPEND_ON]         = "on",
++      [PM_SUSPEND_ON]         = { .label = "on", },
 +#endif
-       [PM_SUSPEND_FREEZE]     = "freeze",
-       [PM_SUSPEND_STANDBY]    = "standby",
-       [PM_SUSPEND_MEM]        = "mem",
+       [PM_SUSPEND_FREEZE] = { .label = "freeze", .state = PM_SUSPEND_FREEZE },
+       [PM_SUSPEND_STANDBY] = { .label = "standby", },
+       [PM_SUSPEND_MEM] = { .label = "mem", },
  };
  
  static const struct platform_suspend_ops *suspend_ops;
@@@ -345,16 -334,10 +344,16 @@@ int enter_state(suspend_state_t state
                freeze_begin();
  
        printk(KERN_INFO "PM: Syncing filesystems ... ");
 +      #if 1
        sys_sync();
 +      #else /* sys_sync WQ ver2.0 use */
 +    //[MTK]
 +    suspend_syssync_enqueue();
 +    suspend_check_sys_sync_done();
 +  #endif
        printk("done.\n");
  
-       pr_debug("PM: Preparing system for %s sleep\n", pm_states[state]);
+       pr_debug("PM: Preparing system for %s sleep\n", pm_states[state].label);
        error = suspend_prepare(state);
        if (error)
                goto Unlock;
Simple merge
Simple merge
diff --cc mm/oom_kill.c
Simple merge
diff --cc mm/shmem.c
Simple merge
diff --cc mm/util.c
Simple merge
Simple merge
Simple merge