> Not answering your primary question here, but in order to print the most > recent tag (along with a uniqe suffix, see man page) that is reachable > from your current branch, you can use "git describe". It will print out > the kernel version on your latest Xilinx tree.
$ git describe v2.6.37-719-gecf08a4 $ cat ./include/linux/version.h #define LINUX_VERSION_CODE 132645 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) $ printf "%x\n" 132645 20625 Something doesn't quite match here... But my original question about how do you declare a probe function in the latest kernels still stand... -- Guillaume Dargaud http://www.gdargaud.net/ _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev