mobility.c (cecdd52a3dd312564f81a39df08378b7b39a2654) mobility.c (75a2d4226b53710380d1017b3f4c88f937ddba78)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Support for Partition Mobility/Migration
4 *
5 * Copyright (C) 2010 Nathan Fontenot
6 * Copyright (C) 2010 IBM Corporation
7 */
8

--- 773 unchanged lines hidden (view full) ---

782 return ret;
783}
784
785int rtas_syscall_dispatch_ibm_suspend_me(u64 handle)
786{
787 return pseries_migrate_partition(handle);
788}
789
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Support for Partition Mobility/Migration
4 *
5 * Copyright (C) 2010 Nathan Fontenot
6 * Copyright (C) 2010 IBM Corporation
7 */
8

--- 773 unchanged lines hidden (view full) ---

782 return ret;
783}
784
785int rtas_syscall_dispatch_ibm_suspend_me(u64 handle)
786{
787 return pseries_migrate_partition(handle);
788}
789
790static ssize_t migration_store(struct class *class,
791 struct class_attribute *attr, const char *buf,
790static ssize_t migration_store(const struct class *class,
791 const struct class_attribute *attr, const char *buf,
792 size_t count)
793{
794 u64 streamid;
795 int rc;
796
797 rc = kstrtou64(buf, 0, &streamid);
798 if (rc)
799 return rc;

--- 38 unchanged lines hidden ---
792 size_t count)
793{
794 u64 streamid;
795 int rc;
796
797 rc = kstrtou64(buf, 0, &streamid);
798 if (rc)
799 return rc;

--- 38 unchanged lines hidden ---