On 1/31/2023 12:17 PM, Ben Huntsman (b...@huntsmans.net) wrote:
#ifdef  _KERNEL

#ifdef  _AIX_FULLOSF
#include "kern/queue.h"
#include "kern/thread.h"
#include "kern/sched_prim.h"
#else
#define EVENT_NETISR  0x0726
#include <sys/libsysp.h>        /* remque/insque */
#endif
...

The above block of code appears to be present in net/netisr.h on AIX 7.2 as well.


I might have missed something but it appears the only defines OpenAFS uses from net/netisr.h are:


/* AIX 3.x compatibility defines */
#define NETISR_MAX      64
#define NET_KPROC       0


These are used in the add_input_type() call.

NET_KPROC has always been 0 and I think OpenAFS should be using NETISR_AFS (33) instead of (NETISR_MAX - 1).


If an empty file needs to be created, please do not add it to the repository.  Instead, I suggest creating it at build time.


Jeffrey Altman



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to