[Skiboot] [PATCH 1/9] npu2: Split out common helper functions into separate file

Frederic Barrat fbarrat at linux.vnet.ibm.com
Thu Jan 11 04:15:00 AEDT 2018



Le 18/12/2017 à 08:07, Andrew Donnellan a écrit :
> diff --git a/hw/npu2-common.c b/hw/npu2-common.c
> new file mode 100644
> index 0000000..cf616f3
> --- /dev/null
> +++ b/hw/npu2-common.c
> @@ -0,0 +1,98 @@
> +#include <skiboot.h>
> +#include <xscom.h>
> +#include <pci.h>
> +#include <npu2.h>
> +#include <npu2-regs.h>
> +#include <bitutils.h>

I was tempted to make a comment that it's the only file in that 
directory without a copyright banner statement. But I won't, as you then 
could fire back by asking details about what/why/how and I don't want to 
know. So I'm not making that comment. Really.

   Fred



More information about the Skiboot mailing list