mca.c (97acb6a8fcc4e5c2cdc2693a35acdc5a7461aaa3) mca.c (95e9a8552e85a7b7c885d3458c7c74c28dfe359b)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * File: mca.c
4 * Purpose: Generic MCA handling layer
5 *
6 * Copyright (C) 2003 Hewlett-Packard Co
7 * David Mosberger-Tang <davidm@hpl.hp.com>
8 *

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

1788 ti->cpu = cpu;
1789 p->stack = ti;
1790 p->__state = TASK_UNINTERRUPTIBLE;
1791 cpumask_set_cpu(cpu, &p->cpus_mask);
1792 INIT_LIST_HEAD(&p->tasks);
1793 p->parent = p->real_parent = p->group_leader = p;
1794 INIT_LIST_HEAD(&p->children);
1795 INIT_LIST_HEAD(&p->sibling);
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * File: mca.c
4 * Purpose: Generic MCA handling layer
5 *
6 * Copyright (C) 2003 Hewlett-Packard Co
7 * David Mosberger-Tang <davidm@hpl.hp.com>
8 *

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

1788 ti->cpu = cpu;
1789 p->stack = ti;
1790 p->__state = TASK_UNINTERRUPTIBLE;
1791 cpumask_set_cpu(cpu, &p->cpus_mask);
1792 INIT_LIST_HEAD(&p->tasks);
1793 p->parent = p->real_parent = p->group_leader = p;
1794 INIT_LIST_HEAD(&p->children);
1795 INIT_LIST_HEAD(&p->sibling);
1796 strncpy(p->comm, type, sizeof(p->comm)-1);
1796 strscpy(p->comm, type, sizeof(p->comm)-1);
1797}
1798
1799/* Caller prevents this from being called after init */
1800static void * __ref mca_bootmem(void)
1801{
1802 return memblock_alloc(sizeof(struct ia64_mca_cpu), KERNEL_STACK_SIZE);
1803}
1804

--- 307 unchanged lines hidden ---
1797}
1798
1799/* Caller prevents this from being called after init */
1800static void * __ref mca_bootmem(void)
1801{
1802 return memblock_alloc(sizeof(struct ia64_mca_cpu), KERNEL_STACK_SIZE);
1803}
1804

--- 307 unchanged lines hidden ---