Release 4.14 arch/ia64/kernel/machvec.c
// SPDX-License-Identifier: GPL-2.0
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <asm/machvec.h>
#ifdef CONFIG_IA64_GENERIC
#include <linux/kernel.h>
#include <linux/string.h>
#include <asm/page.h>
struct ia64_machine_vector ia64_mv;
EXPORT_SYMBOL(ia64_mv);
static struct ia64_machine_vector * __init
lookup_machvec (const char *name)
{
extern struct ia64_machine_vector machvec_start[];
extern struct ia64_machine_vector machvec_end[];
struct ia64_machine_vector *mv;
for (mv = machvec_start; mv < machvec_end; ++mv)
if (strcmp (mv->name, name) == 0)
return mv;
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 62 | 98.41% | 1 | 50.00% |
Simon Horman | 1 | 1.59% | 1 | 50.00% |
Total | 63 | 100.00% | 2 | 100.00% |
void __init
machvec_init (const char *name)
{
struct ia64_machine_vector *mv;
if (!name)
name = acpi_get_sysname();
mv = lookup_machvec(name);
if (!mv)
panic("generic kernel failed to find machine vector for"
" platform %s!", name);
ia64_mv = *mv;
printk(KERN_INFO "booting generic kernel on platform %s\n", name);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 45 | 76.27% | 1 | 25.00% |
Simon Horman | 12 | 20.34% | 1 | 25.00% |
David Mosberger-Tang | 1 | 1.69% | 1 | 25.00% |
Tony Luck | 1 | 1.69% | 1 | 25.00% |
Total | 59 | 100.00% | 4 | 100.00% |
void __init
machvec_init_from_cmdline(const char *cmdline)
{
char str[64];
const char *start;
char *end;
if (! (start = strstr(cmdline, "machvec=")) )
return machvec_init(NULL);
strlcpy(str, start + strlen("machvec="), sizeof(str));
if ( (end = strchr(str, ' ')) )
*end = '\0';
return machvec_init(str);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Simon Horman | 87 | 100.00% | 1 | 100.00% |
Total | 87 | 100.00% | 1 | 100.00% |
#endif /* CONFIG_IA64_GENERIC */
void
machvec_setup (char **arg)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Mosberger-Tang | 8 | 88.89% | 2 | 66.67% |
Linus Torvalds (pre-git) | 1 | 11.11% | 1 | 33.33% |
Total | 9 | 100.00% | 3 | 100.00% |
EXPORT_SYMBOL(machvec_setup);
void
machvec_timer_interrupt (int irq, void *dev_id)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Mosberger-Tang | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
EXPORT_SYMBOL(machvec_timer_interrupt);
void
machvec_dma_sync_single(struct device *hwdev, dma_addr_t dma_handle, size_t size,
enum dma_data_direction dir)
{
mb();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Mosberger-Tang | 21 | 91.30% | 2 | 66.67% |
FUJITA Tomonori | 2 | 8.70% | 1 | 33.33% |
Total | 23 | 100.00% | 3 | 100.00% |
EXPORT_SYMBOL(machvec_dma_sync_single);
void
machvec_dma_sync_sg(struct device *hwdev, struct scatterlist *sg, int n,
enum dma_data_direction dir)
{
mb();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Mosberger-Tang | 23 | 92.00% | 2 | 66.67% |
FUJITA Tomonori | 2 | 8.00% | 1 | 33.33% |
Total | 25 | 100.00% | 3 | 100.00% |
EXPORT_SYMBOL(machvec_dma_sync_sg);
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 128 | 38.67% | 4 | 28.57% |
Simon Horman | 100 | 30.21% | 2 | 14.29% |
David Mosberger-Tang | 94 | 28.40% | 5 | 35.71% |
FUJITA Tomonori | 7 | 2.11% | 1 | 7.14% |
Greg Kroah-Hartman | 1 | 0.30% | 1 | 7.14% |
Tony Luck | 1 | 0.30% | 1 | 7.14% |
Total | 331 | 100.00% | 14 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.