p***@xen.org
2018-10-11 00:46:14 UTC
commit 85b00385827e4e061b2ff38b549c03d0f1e66b6a
Author: Andrew Cooper <***@citrix.com>
AuthorDate: Mon Oct 8 15:28:28 2018 +0100
Commit: Andrew Cooper <***@citrix.com>
CommitDate: Mon Oct 8 18:34:55 2018 +0100
xen/sched: Drop set_current_state()
This appears to have been a Linux-ism which found its way into the Xen
codebase with the IA64 port, and remained after IA64 was removed.
As far as I can tell from code archeology, none of the other architectures
have ever had a current->state field.
Signed-off-by: Andrew Cooper <***@citrix.com>
Acked-by: Jan Beulich <***@suse.com>
Acked-by: George Dunlap <***@citrix.com>
---
xen/include/xen/sched.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h
index c5540fa32f..0ddff03a30 100644
--- a/xen/include/xen/sched.h
+++ b/xen/include/xen/sched.h
@@ -620,7 +620,6 @@ void __domain_crash(struct domain *d);
*/
void noreturn asm_domain_crash_synchronous(unsigned long addr);
-#define set_current_state(_s) do { current->state = (_s); } while (0)
void scheduler_init(void);
int sched_init_vcpu(struct vcpu *v, unsigned int processor);
void sched_destroy_vcpu(struct vcpu *v);
--
generated by git-patchbot for /home/xen/git/xen.git#master
Author: Andrew Cooper <***@citrix.com>
AuthorDate: Mon Oct 8 15:28:28 2018 +0100
Commit: Andrew Cooper <***@citrix.com>
CommitDate: Mon Oct 8 18:34:55 2018 +0100
xen/sched: Drop set_current_state()
This appears to have been a Linux-ism which found its way into the Xen
codebase with the IA64 port, and remained after IA64 was removed.
As far as I can tell from code archeology, none of the other architectures
have ever had a current->state field.
Signed-off-by: Andrew Cooper <***@citrix.com>
Acked-by: Jan Beulich <***@suse.com>
Acked-by: George Dunlap <***@citrix.com>
---
xen/include/xen/sched.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h
index c5540fa32f..0ddff03a30 100644
--- a/xen/include/xen/sched.h
+++ b/xen/include/xen/sched.h
@@ -620,7 +620,6 @@ void __domain_crash(struct domain *d);
*/
void noreturn asm_domain_crash_synchronous(unsigned long addr);
-#define set_current_state(_s) do { current->state = (_s); } while (0)
void scheduler_init(void);
int sched_init_vcpu(struct vcpu *v, unsigned int processor);
void sched_destroy_vcpu(struct vcpu *v);
--
generated by git-patchbot for /home/xen/git/xen.git#master