Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1356697 > unrolled thread
| Started by | Russell King - ARM Linux <linux@arm.linux.org.uk> |
|---|---|
| First post | 2016-03-13 17:10 +0100 |
| Last post | 2016-03-13 17:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk' Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-03-13 17:10 +0100
| From | Russell King - ARM Linux <linux@arm.linux.org.uk> |
|---|---|
| Date | 2016-03-13 17:10 +0100 |
| Subject | Re: include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk' |
| Message-ID | <rcgKC-81N-9@gated-at.bofh.it> |
On Sun, Mar 13, 2016 at 04:37:14PM +0800, kbuild test robot wrote:
> Hi Russell,
>
> FYI, the error/warning still remains.
Sorry, I've no clue about this. From what I can see, kprobes.h is
correct.
#ifdef CONFIG_KPROBES
DECLARE_PER_CPU(struct kprobe *, current_kprobe);
DECLARE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
...
static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void)
{
return this_cpu_ptr(&kprobe_ctlblk);
}
The only way I can see that kprobe_ctlblk would be undefined is if
MN10300 were doing something totally weird with DECLARE_PER_CPU().
Since I know precisely nothing about MN10300, and it doesn't seem to
touch the definition of DECLARE_PER_CPU(), I'm at a total loss to
understand how this error can occur.
Some help would be nice - as right now I have absolutely no idea on
this.
--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
Back to top | Article view | linux.kernel
csiph-web