There is a function for printing a binary value in arch/parisc/kernel/traps.c, called printbinary(). You can copy it to your code (or just link it if you are on parisc). Itβs better to still move it somewhere common in the kernel tree, for example. liband send the patch to LKML.
source
share