/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_WORD_AT_A_TIME_H #define _ASM_WORD_AT_A_TIME_H #include <asm/compiler.h> /* * word-at-a-time interface for Alpha. */ /* * We do not use the word_at_a_time struct on Alpha, but it needs to be * implemented to humour the generic code. */ struct word_at_a_time { const unsigned long unused; }; #define WORD_AT_A_TIME_CONSTANTS { 0 } /* Return nonzero if val has a zero */
static inline unsigned long has_zero(unsigned long val, unsigned long *bits, const struct word_at_a_time *c) { unsigned long zero_locations = __kernel_cmpbge(0, val); *bits = zero_locations; return zero_locations; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael Cree | 42 | 100.00% | 1 | 100.00% |
Total | 42 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Michael Cree | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Michael Cree | 98 | 100.00% | 1 | 100.00% |
Total | 98 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Michael Cree | 201 | 96.17% | 1 | 33.33% |
Chris Metcalf | 7 | 3.35% | 1 | 33.33% |
Greg Kroah-Hartman | 1 | 0.48% | 1 | 33.33% |
Total | 209 | 100.00% | 3 | 100.00% |