You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
318 B
13 lines
318 B
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/export.h>
|
|
#include <linux/compiler.h>
|
|
|
|
unsigned int notrace __bswapsi2(unsigned int u)
|
|
{
|
|
return (((u) & 0xff000000) >> 24) |
|
|
(((u) & 0x00ff0000) >> 8) |
|
|
(((u) & 0x0000ff00) << 8) |
|
|
(((u) & 0x000000ff) << 24);
|
|
}
|
|
|
|
EXPORT_SYMBOL(__bswapsi2);
|
|
|