Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include <linux/export.h>
0003 #include <linux/compiler.h>
0004 
0005 unsigned int notrace __bswapsi2(unsigned int u)
0006 {
0007     return (((u) & 0xff000000) >> 24) |
0008            (((u) & 0x00ff0000) >>  8) |
0009            (((u) & 0x0000ff00) <<  8) |
0010            (((u) & 0x000000ff) << 24);
0011 }
0012 
0013 EXPORT_SYMBOL(__bswapsi2);