arch/powerpc/include/uapi/asm/byteorder.h

Source file repositories/reference/linux-study-clean/arch/powerpc/include/uapi/asm/byteorder.h

File Facts

System
Linux kernel
Corpus path
arch/powerpc/include/uapi/asm/byteorder.h
Extension
.h
Size
550 bytes
Lines
18
Domain
Architecture Layer
Bucket
arch/powerpc
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _ASM_POWERPC_BYTEORDER_H
#define _ASM_POWERPC_BYTEORDER_H

/*
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */
#ifdef __LITTLE_ENDIAN__
#include <linux/byteorder/little_endian.h>
#else
#include <linux/byteorder/big_endian.h>
#endif

#endif /* _ASM_POWERPC_BYTEORDER_H */

Annotation

Implementation Notes